Permalink
Browse files

Fix typo

  • Loading branch information...
Yehuda Katz + Carl Lerche
Yehuda Katz + Carl Lerche committed Jun 18, 2009
1 parent 5267add commit 497554fd10e8c7efc54a805661907bc39c8fe6e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/render/rendering.rb
@@ -84,7 +84,7 @@ def _render_content_with_layout(content, layout, locals)
# ==== 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>

0 comments on commit 497554f

Please sign in to comment.