aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-01 12:05:55 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-01 12:05:55 +0100
commitaea7e8c2f359d4e60a2c3179486f0cca3001b13f (patch)
tree88ecbed40fcefe4e76eacdf2937291b6c45ebd9a /actionpack
parentcbeac93310a7e95453bea3f2d4551288fd455d07 (diff)
downloadrails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.tar.gz
rails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.tar.bz2
rails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.zip
Accidently nixed a doc header
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 09bad569e5..380f6bbf7a 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -866,6 +866,7 @@ module ActionController #:nodoc:
# # Renders "alert('hello')" and sets the mime type to text/javascript
# render :js => "alert('hello')"
#
+ # === Rendering with status and location headers
# All renders take the <tt>:status</tt> and <tt>:location</tt> options and turn them into headers. They can even be used together:
#
# render :xml => post.to_xml, :status => :created, :location => post_url(post)