aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-18 11:14:44 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-18 11:14:44 -0700
commit497554fd10e8c7efc54a805661907bc39c8fe6e9 (patch)
tree3a387147018e2181fa8a662a17ba7d60d31b3c53 /actionpack
parent5267addd4f986c89df3d31f35e046abc3b1fbe26 (diff)
downloadrails-497554fd10e8c7efc54a805661907bc39c8fe6e9.tar.gz
rails-497554fd10e8c7efc54a805661907bc39c8fe6e9.tar.bz2
rails-497554fd10e8c7efc54a805661907bc39c8fe6e9.zip
Fix typo
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/render/rendering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/render/rendering.rb b/actionpack/lib/action_view/render/rendering.rb
index 588a64a652..a9a40c099c 100644
--- a/actionpack/lib/action_view/render/rendering.rb
+++ b/actionpack/lib/action_view/render/rendering.rb
@@ -84,7 +84,7 @@ module ActionView
# ==== Example
#
# # The template
- # <% render :layout => "my_layout" do |name| %>Hello <%= customer.name %><% end %>
+ # <% render :layout => "my_layout" do |customer| %>Hello <%= customer.name %><% end %>
#
# # The layout
# <html><% yield Struct.new(:name).new("David") %></html>