diff options
author | Marcel Molina <marcel@vernix.org> | 2006-04-26 14:40:26 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2006-04-26 14:40:26 +0000 |
commit | fe8db233712de8ce77e226a11ee737e078e06e0f (patch) | |
tree | 62114f058b443369bd37eafdabe577a6d16608a2 /actionpack | |
parent | 91531372f9b7130f8a940cdb23f19984b65a60fa (diff) | |
download | rails-fe8db233712de8ce77e226a11ee737e078e06e0f.tar.gz rails-fe8db233712de8ce77e226a11ee737e078e06e0f.tar.bz2 rails-fe8db233712de8ce77e226a11ee737e078e06e0f.zip |
Fix documentation indentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/capture_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 # <head> # <title>layout with js</title> # <script type="text/javascript"> - # <%= yield :script %> - # </script> + # <%= yield :script %> + # </script> # </head> # <body> # <%= 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 <tt><% content_for('footer') %></tt> + # named @@content_for_#{name_of_the_content_block}@. So <tt><%= content_for('footer') %></tt> # would be avaiable as <tt><%= @content_for_footer %></tt>. The preferred notation now is # <tt><%= yield :footer %></tt>. def content_for(name, &block) |