Permalink
Browse files

Accidently nixed a doc header

  • Loading branch information...
1 parent cbeac93 commit aea7e8c2f359d4e60a2c3179486f0cca3001b13f @dhh dhh committed Nov 1, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_controller/base.rb
@@ -866,6 +866,7 @@ def append_view_path(path)
# # 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)

0 comments on commit aea7e8c

Please sign in to comment.