diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-21 19:45:15 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-21 20:27:24 -0700 |
commit | 8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5 (patch) | |
tree | 2beeaad88d69e1cc4db48b4a722a409f4d72560c /actionpack | |
parent | e0e124757a98a22a3a1ff7cfbceb1d0e4c4c7533 (diff) | |
download | rails-8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5.tar.gz rails-8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5.tar.bz2 rails-8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5.zip |
Dead local
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/new_base/renderer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/new_base/renderer.rb b/actionpack/lib/action_controller/new_base/renderer.rb index 878859f3e6..71b79fbc42 100644 --- a/actionpack/lib/action_controller/new_base/renderer.rb +++ b/actionpack/lib/action_controller/new_base/renderer.rb @@ -29,7 +29,6 @@ module ActionController if options.key?(:text) options[:_template] = ActionView::TextTemplate.new(_text(options), formats.first) - template = nil elsif options.key?(:inline) handler = ActionView::Template.handler_class_for_extension(options[:type] || "erb") template = ActionView::Template.new(options[:inline], "inline #{options[:inline].inspect}", handler, {}) |