Remove div from authenticity_token in Rails?

How to remove div from authenticity_token in Ruby on Rails?

Thanks.

+3
source share
1 answer

You might be able to get around it using form_authenticity_token, since I believe that this only returns the value that should be stored.

See the documentation for more information.

0
source

Source: https://habr.com/ru/post/1719554/


All Articles