aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/render/rendering.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 16:23:11 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 16:23:11 -0700
commit55ee0ba7f5b6b5d2023eb5dcc030946ed589fe53 (patch)
treefeb3f10381724dd41389b604d51dc42080098a60 /actionpack/lib/action_view/render/rendering.rb
parent8fdf3d7890d2e58508e028c93d3797f21a774dbc (diff)
downloadrails-55ee0ba7f5b6b5d2023eb5dcc030946ed589fe53.tar.gz
rails-55ee0ba7f5b6b5d2023eb5dcc030946ed589fe53.tar.bz2
rails-55ee0ba7f5b6b5d2023eb5dcc030946ed589fe53.zip
Cleaning up if defined?(ActionController::Http) blocks from the pre new base era.
Diffstat (limited to 'actionpack/lib/action_view/render/rendering.rb')
-rw-r--r--actionpack/lib/action_view/render/rendering.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/render/rendering.rb b/actionpack/lib/action_view/render/rendering.rb
index fe785e7b20..d120631e5d 100644
--- a/actionpack/lib/action_view/render/rendering.rb
+++ b/actionpack/lib/action_view/render/rendering.rb
@@ -64,7 +64,6 @@ module ActionView
def _render_template(template, local_assigns = {})
with_template(template) do
_evaluate_assigns_and_ivars
- _set_controller_content_type(template.mime_type) if template.respond_to?(:mime_type)
template.render(self, local_assigns) do |*names|
if !instance_variable_defined?(:"@content_for_#{names.first}") &&