Remove div from authenticity_token in Rails?

519 views Asked by At

How can I remove the div from authenticity_token in Ruby on Rails?

Thanks.

1

There are 1 answers

0
Topher Fangio On BEST ANSWER

You might be able to work around it by using form_authenticity_token as I believe this only returns the value that should be stored.

Take a look at the documentation for more information.