Remove div from authenticity_token in Rails?

539 Views Asked by At

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

Thanks.

1

There are 1 best solutions below

0
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.