aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-11-19 17:41:55 +0530
committerPratik Naik <pratiknaik@gmail.com>2008-11-19 17:48:57 +0530
commit27c03e69e94655482b0d77d3ae0ca902ce537f8c (patch)
tree2b71a3ec9ac2e11d75fc008755bf53c07a3d36b3 /actionpack/lib/action_controller/base.rb
parent0c9f677e7861ef2aae36d91811d72794e4709f58 (diff)
downloadrails-27c03e69e94655482b0d77d3ae0ca902ce537f8c.tar.gz
rails-27c03e69e94655482b0d77d3ae0ca902ce537f8c.tar.bz2
rails-27c03e69e94655482b0d77d3ae0ca902ce537f8c.zip
Remove deprecated render_component. Please use the plugin from http://github.com/rails/render_component/tree/master
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rw-r--r--actionpack/lib/action_controller/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index f35c42f929..bffe6efa15 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -529,7 +529,7 @@ module ActionController #:nodoc:
end
def send_response
- response.prepare! unless component_request?
+ response.prepare!
response
end