From 9aca06fbee44479eb8cccc5c19ecd8a85f0e0060 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 10 Dec 2007 23:14:47 +0000 Subject: More Action View refactoring. Knock :erb default down a notch. Closes #10455. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/base.rb') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index f1d416d664..ff77e036fb 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -862,7 +862,7 @@ module ActionController #:nodoc: elsif inline = options[:inline] add_variables_to_assigns - render_for_text(@template.render_template(options[:type] || :erb, inline, nil, options[:locals] || {}), options[:status]) + render_for_text(@template.render_template(options[:type], inline, nil, options[:locals] || {}), options[:status]) elsif action_name = options[:action] template = default_template_name(action_name.to_s) -- cgit v1.2.3