Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application layout needs CSRF meta tag for Rails 3 #9

Open
aliang opened this issue Feb 19, 2010 · 0 comments
Open

application layout needs CSRF meta tag for Rails 3 #9

aliang opened this issue Feb 19, 2010 · 0 comments

Comments

@aliang
Copy link

aliang commented Feb 19, 2010

To use this example app with Rails 3, you need to include the csrf_meta_tag in app/views/layouts/application.html.erb, or you'll get a javascript error when the code in rails.js executes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant