Use full status for render_component from within a controller

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-02-19 20:33:15 +00:00
parent 86b86b2647
commit 7d3d83e7b4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module ActionController #:nodoc:
protected
def render_component(options = {}) #:doc:
response = component_response(options)
render_text(response.body, response.response_code)
render_text(response.body, response.headers["Status"])
end
private