diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-19 00:46:34 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-19 00:46:34 +0000 |
commit | 8896efd41aca929ef91ee28a0e406bffeb253834 (patch) | |
tree | acbc4b23daf2cba116321ec8f49ead17d0c553e2 /actionpack/lib | |
parent | 1e216b1d84a4f6027d6eac9424d685bbe62c0643 (diff) | |
download | rails-8896efd41aca929ef91ee28a0e406bffeb253834.tar.gz rails-8896efd41aca929ef91ee28a0e406bffeb253834.tar.bz2 rails-8896efd41aca929ef91ee28a0e406bffeb253834.zip |
Ensure backwards compatibility with symbolized action names for render_action (closes #3869) [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 08a2d7643f..4551dd9f74 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -664,7 +664,7 @@ module ActionController #:nodoc: end def render_action(action_name, status = nil, with_layout = true) - template = default_template_name(action_name) + template = default_template_name(action_name.to_s) if with_layout && !template_exempt_from_layout?(template) render_with_layout(template, status) else |