diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-01 12:05:55 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-01 12:05:55 +0100 |
commit | aea7e8c2f359d4e60a2c3179486f0cca3001b13f (patch) | |
tree | 88ecbed40fcefe4e76eacdf2937291b6c45ebd9a /actionpack/lib | |
parent | cbeac93310a7e95453bea3f2d4551288fd455d07 (diff) | |
download | rails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.tar.gz rails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.tar.bz2 rails-aea7e8c2f359d4e60a2c3179486f0cca3001b13f.zip |
Accidently nixed a doc header
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 1 |
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) |