Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo

  • Loading branch information...
commit 497554fd10e8c7efc54a805661907bc39c8fe6e9 1 parent 5267add
Yehuda Katz + Carl Lerche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/render/rendering.rb
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.