Go back to the main page

Using nested layouts in Rails 2.3

This article is over 2 years old. Proceed with caution.

Regards ♨ – Minimul

 

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' %>
Comment on this article?