diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-07 20:48:21 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-07 21:31:31 +0200 |
commit | c563f10f3e8083bebe32200fa065748c8bcb65c9 (patch) | |
tree | f014b8ab578bc88d9ba5847d3695584d2da733ec /actionpack/lib/abstract_controller | |
parent | 8f9e9118e402ea2fe1eec6fcb9a2d3f0c84b3b46 (diff) | |
download | rails-c563f10f3e8083bebe32200fa065748c8bcb65c9.tar.gz rails-c563f10f3e8083bebe32200fa065748c8bcb65c9.tar.bz2 rails-c563f10f3e8083bebe32200fa065748c8bcb65c9.zip |
render :template => 'foo/bar.json' now works as it should.
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index b4ab3481d5..e88e5aefc0 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -12,7 +12,6 @@ module AbstractController # This is a class to fix I18n global state. Whenever you provide I18n.locale during a request, # it will trigger the lookup_context and consequently expire the cache. - # TODO Add some deprecation warnings to remove I18n.locale from controllers class I18nProxy < ::I18n::Config #:nodoc: attr_reader :i18n_config, :lookup_context |