1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix documentation indentation

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Marcel Molina 2006-04-26 14:40:26 +00:00
parent 91531372f9
commit fe8db23371

View file

@ -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)