From a0c925c0a37c2ef4d8774dcce93c3da187e2d76d Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Mon, 26 Nov 2007 20:57:04 +0000 Subject: Minor inconsistency in description of render example. Closes #10029 [ScottSchram] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 9b77f0fb55..3193362fc8 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -764,11 +764,11 @@ module ActionController #:nodoc: # render :text => "Explosion!", :status => 500 # # # Renders the clear text "Hi there!" within the current active layout (if one exists) - # render :text => "Explosion!", :layout => true + # render :text => "Hi there!", :layout => true # # # Renders the clear text "Hi there!" within the layout # # placed in "app/views/layouts/special.r(html|xml)" - # render :text => "Explosion!", :layout => "special" + # render :text => "Hi there!", :layout => "special" # # The :text option can also accept a Proc object, which can be used to manually control the page generation. This should # generally be avoided, as it violates the separation between code and content, and because almost everything that can be -- cgit v1.2.3