From: <jh...@us...> - 2009-02-06 17:26:38
|
Revision: 67 http://etch.svn.sourceforge.net/etch/?rev=67&view=rev Author: jheiss Date: 2009-02-06 17:26:36 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Replace @content_for_layout with a call to yield. @content_for_layout is deprecated. Modified Paths: -------------- trunk/server/app/views/layouts/application.html.erb Modified: trunk/server/app/views/layouts/application.html.erb =================================================================== --- trunk/server/app/views/layouts/application.html.erb 2009-02-06 17:25:40 UTC (rev 66) +++ trunk/server/app/views/layouts/application.html.erb 2009-02-06 17:26:36 UTC (rev 67) @@ -41,7 +41,8 @@ <div id="error"><%= flash[:error] %></div> <% end -%> -<%= @content_for_layout %> +<%- # Calling yield here triggers the insertion of the specific view -%> +<%= yield %> <hr /> </div> <!-- end content --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |