diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-08 11:32:01 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-08 11:32:01 +0100 |
commit | 0a85380966e47a38292242e6c3b259d77c738ab5 (patch) | |
tree | 60945065b107368e6cd2f06b63cf40d16f6e88ac /actionpack/lib/action_controller/metal/implicit_render.rb | |
parent | 34b2180451f842b180dd925bab10e8f4afa34490 (diff) | |
download | rails-0a85380966e47a38292242e6c3b259d77c738ab5.tar.gz rails-0a85380966e47a38292242e6c3b259d77c738ab5.tar.bz2 rails-0a85380966e47a38292242e6c3b259d77c738ab5.zip |
Finally moved the find template logic to the views.
Diffstat (limited to 'actionpack/lib/action_controller/metal/implicit_render.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/implicit_render.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/implicit_render.rb b/actionpack/lib/action_controller/metal/implicit_render.rb index c3e3b8fdf5..282dcf66b3 100644 --- a/actionpack/lib/action_controller/metal/implicit_render.rb +++ b/actionpack/lib/action_controller/metal/implicit_render.rb @@ -12,7 +12,7 @@ module ActionController def method_for_action(action_name) super || begin - if template_exists?(action_name.to_s, :_prefix => controller_path) + if template_exists?(action_name.to_s, _prefix) "default_render" end end |