Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4275

Show
Ignore:
Timestamp:
04/26/06 14:40:26 (2 years ago)
Author:
marcel
Message:

Fix documentation indentation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_view/helpers/capture_helper.rb

    r4262 r4275  
    2121    #       <title>layout with js</title> 
    2222    #       <script type="text/javascript"> 
    23     #       <%= yield :script %> 
    24     #          </script> 
     23    #         <%= yield :script %> 
     24    #     </script> 
    2525    #   </head> 
    2626    #   <body> 
     
    8787      # 
    8888      # The deprecated way of accessing a content_for block was to use a instance variable 
    89       # named @content_for_#{name_of_the_content_block}. So <tt><% content_for('footer') %></tt> 
     89      # named @@content_for_#{name_of_the_content_block}@. So <tt><%= content_for('footer') %></tt> 
    9090      # would be avaiable as <tt><%= @content_for_footer %></tt>. The preferred notation now is 
    9191      # <tt><%= yield :footer %></tt>.