Hi Ar,

Thanks!

I added that statement because my layout wouldn't show. So with or
without it, it makes no difference.

Regards,
Jaap Haagmans


On Sep 8, 6:01 pm, Ar Chron <[email protected]> wrote:
> 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 viahttp://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to