3

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

Thanks.

Gabriel Bianconi
  • 1,179
  • 3
  • 19
  • 37

1 Answers1

0

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.

Topher Fangio
  • 20,372
  • 15
  • 61
  • 94