Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix documentation indentation

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit fe8db233712de8ce77e226a11ee737e078e06e0f 1 parent 9153137
Marcel Molina authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_view/helpers/capture_helper.rb
View
6 actionpack/lib/action_view/helpers/capture_helper.rb
@@ -20,8 +20,8 @@ module Helpers
# <head>
# <title>layout with js</title>
# <script type="text/javascript">
- # <%= yield :script %>
- # </script>
+ # <%= yield :script %>
+ # </script>
# </head>
# <body>
# <%= yield %>
@@ -86,7 +86,7 @@ def capture(*args, &block)
# 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)
Please sign in to comment.
Something went wrong with that request. Please try again.