aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 13:39:47 +0100
committerJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 17:15:21 +0100
commit20eb1ca77ef591e64e33d6c21dc997d89ea62e3d (patch)
tree761aeb5d716dfb9a7f19ddd8280bcf5fd53561c5
parente68bfaf1fe1a7890a67af6f444281185f507cf9e (diff)
downloadrails-20eb1ca77ef591e64e33d6c21dc997d89ea62e3d.tar.gz
rails-20eb1ca77ef591e64e33d6c21dc997d89ea62e3d.tar.bz2
rails-20eb1ca77ef591e64e33d6c21dc997d89ea62e3d.zip
Updated documentation for block helpers in render/layouts.rb
-rw-r--r--actionpack/lib/action_view/render/layouts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/render/layouts.rb b/actionpack/lib/action_view/render/layouts.rb
index 8688de3d18..e9252dba9e 100644
--- a/actionpack/lib/action_view/render/layouts.rb
+++ b/actionpack/lib/action_view/render/layouts.rb
@@ -13,7 +13,7 @@ module ActionView
# ==== Example
#
# # The template
- # <% render :layout => "my_layout" do %>Content<% end %>
+ # <%= render :layout => "my_layout" do %>Content<% end %>
#
# # The layout
# <html><% yield %></html>
@@ -27,7 +27,7 @@ module ActionView
# ==== Example
#
# # The template
- # <% render :layout => "my_layout" do |customer| %>Hello <%= customer.name %><% end %>
+ # <%= render :layout => "my_layout" do |customer| %>Hello <%= customer.name %><% end %>
#
# # The layout
# <html><% yield Struct.new(:name).new("David") %></html>