From 27c03e69e94655482b0d77d3ae0ca902ce537f8c Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Wed, 19 Nov 2008 17:41:55 +0530 Subject: Remove deprecated render_component. Please use the plugin from http://github.com/rails/render_component/tree/master --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/base.rb') 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 -- cgit v1.2.3