diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
commit | 01ab6f961bff150d50c99f03fa3946f48ac29b17 (patch) | |
tree | 01074398b0f2ffbeaf5d5e44ba7d22f7b7abadeb /actionpack/lib/action_view/renderer/template_renderer.rb | |
parent | aa508c9baf031d0bb28e6e8f061d731cdd77ecbd (diff) | |
download | rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.gz rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.bz2 rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.zip |
Remove :cache => true on lookup templates initialization.
Diffstat (limited to 'actionpack/lib/action_view/renderer/template_renderer.rb')
-rw-r--r-- | actionpack/lib/action_view/renderer/template_renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/renderer/template_renderer.rb b/actionpack/lib/action_view/renderer/template_renderer.rb index 34b2f26199..36beb5c8d0 100644 --- a/actionpack/lib/action_view/renderer/template_renderer.rb +++ b/actionpack/lib/action_view/renderer/template_renderer.rb @@ -46,7 +46,7 @@ module ActionView with_fallbacks { find_template(options[:file], options[:prefix], false, keys) } elsif options.key?(:inline) handler = Template.handler_class_for_extension(options[:type] || "erb") - Template::Inline.new(options[:inline], handler, :locals => keys) + Template.new(options[:inline], "inline template", handler, :locals => keys) elsif options.key?(:template) options[:template].respond_to?(:render) ? options[:template] : find_template(options[:template], options[:prefix], false, keys) |