Go back to the main page

Using nested layouts in Rails 2.3

 

In section 3.5 of Rails Guides it has the following.

<%= render :template => 'layouts/application' %>

For Rails 2.3 it should be:

<%= render :file => 'layouts/application' %>
  • Pushed on 04/13/2012 by Christian