My application.html.erb layout is not rendering at all. Its the only
file in the layout folder. I've deleted the public/index.html file.

Whenever i go to http://localhost:3000/

I get the root page view set in routes.rb without the layout. I've tried
adding layout "application" in the application controller but that
doesn't work either. I have to go in all controllers and write layout
"application" to make application.html.erb render smoothly.

Any idea why application.html.erb is not rendered by default?

Best Regards.

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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouprubyonrails-talk @
postedSep 25, '11 at 11:17p
activeSep 25, '11 at 11:17p

1 user in discussion

Dandy dandy: 1 post



site design / logo © 2022 Grokbase