aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/rendering.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-09 13:12:11 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-09 13:12:11 +0100
commit00d6271d2b11a14065925529af0c1200406f8beb (patch)
treee3024baa083ef39b97f0293da8661cb3744957ba /actionpack/lib/abstract_controller/rendering.rb
parentc507e16dba844c7b066d145bfd5c5d23e7a9c5ad (diff)
downloadrails-00d6271d2b11a14065925529af0c1200406f8beb.tar.gz
rails-00d6271d2b11a14065925529af0c1200406f8beb.tar.bz2
rails-00d6271d2b11a14065925529af0c1200406f8beb.zip
Clean up the API required from ActionView::Template.
Diffstat (limited to 'actionpack/lib/abstract_controller/rendering.rb')
-rw-r--r--actionpack/lib/abstract_controller/rendering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index 5048754e33..5c34b83563 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -108,7 +108,7 @@ module AbstractController
end
def _with_template_hook(template)
- self.formats = template.details[:formats]
+ self.formats = template.formats
end
end
end