aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/components.rb
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-09-03 00:18:30 +0000
committerMichael Koziarski <michael@koziarski.com>2007-09-03 00:18:30 +0000
commitf81dae3fca46c43d1fb6e4cb40734ef35623a72e (patch)
tree987017ae80580ee8f39c877a8f91c8b42eae14c5 /actionpack/lib/action_controller/components.rb
parent6246fad19a5ec747f5914c142b8631af212d47ea (diff)
downloadrails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.tar.gz
rails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.tar.bz2
rails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.zip
Remove deprecated functionality from actionpack. Closes #8958 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/components.rb')
-rw-r--r--actionpack/lib/action_controller/components.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/components.rb b/actionpack/lib/action_controller/components.rb
index 93008ce444..dc3032219b 100644
--- a/actionpack/lib/action_controller/components.rb
+++ b/actionpack/lib/action_controller/components.rb
@@ -78,7 +78,7 @@ module ActionController #:nodoc:
# Renders the component specified as the response for the current method
def render_component(options) #:doc:
component_logging(options) do
- render_text(component_response(options, true).body, response.headers["Status"])
+ render_for_text(component_response(options, true).body, response.headers["Status"])
end
end