diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-18 11:14:44 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-18 11:14:44 -0700 |
commit | 497554fd10e8c7efc54a805661907bc39c8fe6e9 (patch) | |
tree | 3a387147018e2181fa8a662a17ba7d60d31b3c53 /actionpack | |
parent | 5267addd4f986c89df3d31f35e046abc3b1fbe26 (diff) | |
download | rails-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.rb | 2 |
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> |