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:
parent
86b86b2647
commit
7d3d83e7b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue