From fe8db233712de8ce77e226a11ee737e078e06e0f Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Wed, 26 Apr 2006 14:40:26 +0000 Subject: Fix documentation indentation git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/capture_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionpack/lib/action_view/helpers/capture_helper.rb index 8dadf21865..28b3e29967 100644 --- a/actionpack/lib/action_view/helpers/capture_helper.rb +++ b/actionpack/lib/action_view/helpers/capture_helper.rb @@ -20,8 +20,8 @@ module ActionView # # layout with js # + # <%= yield :script %> + # # # # <%= yield %> @@ -86,7 +86,7 @@ module ActionView # for elements that are going to be fragment cached. # # The deprecated way of accessing a content_for block was to use a instance variable - # named @content_for_#{name_of_the_content_block}. So <% content_for('footer') %> + # named @@content_for_#{name_of_the_content_block}@. So <%= content_for('footer') %> # would be avaiable as <%= @content_for_footer %>. The preferred notation now is # <%= yield :footer %>. def content_for(name, &block) -- cgit v1.2.3