aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/scaffolds
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/templates/scaffolds')
-rw-r--r--actionpack/lib/action_controller/templates/scaffolds/layout.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
index 120f0cfb62..759781e0e7 100644
--- a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
+++ b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
@@ -63,7 +63,7 @@
<p style="color: green"><%= flash[:notice] %></p>
-<%= @content_for_layout %>
+<%= yield %>
</body>
</html>