Jaap Haagmans wrote: > In my controller: > > class ApplicationController < ActionController::Base > protect_from_forgery > > layout 'application' > end >
Yank the layout 'application' statement and you should be fine. My out-of-the-generator Rails 3 app honors the application.html.erb without any such statement. class ApplicationController < ActionController::Base protect_from_forgery end -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.