I have a simple rails 2.3.4 application I am trying to get running with rails 3.0.0-beta2. I have the server running and all my links and navigation showing, however for some reason the content of my views is not displaying.
When I navigate to Site/index the html in my index.html.erb in my site view is completely ignored. There are no errors in the server log.
My template is rendered properly (where all the links and navigation are being created) within application.html.erb however all of my actual view files are being ignored.
Has anyone experienced this?
I am using old style routing with map.connect, could this be the issue? Does anyone have a tutorial on how to convert old routes to new ones? I couldn't figure it out.
my current routes look like this:
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
map.root :controller => :site, :action => :index
edit: Solved my problem by using yield instead of @content_for_layout.