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

Changeset 8215

Show
Ignore:
Timestamp:
11/26/07 20:57:04 (10 months ago)
Author:
marcel
Message:

Minor inconsistency in description of render example. Closes #10029 [ScottSchram]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r8214 r8215  
    11*SVN* 
     2 
     3* Minor inconsistency in description of render example. Closes #10029 [ScottSchram] 
    24 
    35* Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods.  [rick] 
  • trunk/actionpack/lib/action_controller/base.rb

    r8214 r8215  
    765765      # 
    766766      #   # Renders the clear text "Hi there!" within the current active layout (if one exists) 
    767       #   render :text => "Explosion!", :layout => true 
     767      #   render :text => "Hi there!", :layout => true 
    768768      # 
    769769      #   # Renders the clear text "Hi there!" within the layout 
    770770      #   # placed in "app/views/layouts/special.r(html|xml)" 
    771       #   render :text => "Explosion!", :layout => "special" 
     771      #   render :text => "Hi there!", :layout => "special" 
    772772      # 
    773773      # The :text option can also accept a Proc object, which can be used to manually control the page generation. This should