diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-14 08:38:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-14 08:38:37 +0000 |
commit | 86d2b2792a50d21462216b18fb63e57a628ca40f (patch) | |
tree | 53973c5144c65ad1234e732451aadfa03294c299 /actionpack/lib/action_view | |
parent | db11abbfba2401790f15db98678cee6d3da118a0 (diff) | |
download | rails-86d2b2792a50d21462216b18fb63e57a628ca40f.tar.gz rails-86d2b2792a50d21462216b18fb63e57a628ca40f.tar.bz2 rails-86d2b2792a50d21462216b18fb63e57a628ca40f.zip |
Added support for POST data in form of YAML or XML, which is controller through the POST_DATA_MARSHAL header
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 |