spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

Spellchecker - Can't verify CSRF token authenticity #111

Closed drc37 closed 11 years ago

drc37 commented 11 years ago

I have spellchecker up and running, but each time I click button, I get the above error message. I am using devise and have a spell_check_controller with "skip_before_filter :authenticate_user!" at the top of the controller.

Any thoughts?

spohlenz commented 11 years ago

Try skip_before_filter :verify_authenticity_token in your controller.

harssh commented 11 years ago

Yep +1 for

skip_before_filter :verify_authenticity_token this should work

drc37 commented 11 years ago

That's it. You guys are awesome. Thanks.