diff options
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 72200904f0..b0737f0f0b 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -218,7 +218,7 @@ module ActionView #:nodoc: if @@template_handlers[template_extension] "delegate_render" else - (template_extension == "rxml" ? "rxml" : "rhtml") + "_render" + (template_extension.to_s == "rxml" ? "rxml" : "rhtml") + "_render" end end |