diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-09 13:12:11 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-09 13:12:11 +0100 |
commit | 00d6271d2b11a14065925529af0c1200406f8beb (patch) | |
tree | e3024baa083ef39b97f0293da8661cb3744957ba /actionpack/lib/abstract_controller | |
parent | c507e16dba844c7b066d145bfd5c5d23e7a9c5ad (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 2 |
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 |