Hey,

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

Reply via email to