mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Dead local
This commit is contained in:
@@ -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, {})
|
||||
|
||||
Reference in New Issue
Block a user