aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base/base.rb
diff options
context:
space:
mode:
authorYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-08 17:32:19 -0700
committerYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-08 17:33:41 -0700
commit1aadafda8dd28ec081da6827878003c478c77c76 (patch)
treead1566e99f5ffdcc8525f0a6754df47661d8ce50 /actionpack/lib/action_controller/base/base.rb
parent6c05b5e938ac48b69aec17c598fec447e38dde31 (diff)
downloadrails-1aadafda8dd28ec081da6827878003c478c77c76.tar.gz
rails-1aadafda8dd28ec081da6827878003c478c77c76.tar.bz2
rails-1aadafda8dd28ec081da6827878003c478c77c76.zip
Updated old AC::Base for small changes to AV
Diffstat (limited to 'actionpack/lib/action_controller/base/base.rb')
-rw-r--r--actionpack/lib/action_controller/base/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base/base.rb b/actionpack/lib/action_controller/base/base.rb
index 29d87d8125..7a745ea040 100644
--- a/actionpack/lib/action_controller/base/base.rb
+++ b/actionpack/lib/action_controller/base/base.rb
@@ -832,7 +832,7 @@ module ActionController #:nodoc:
begin
default_render
rescue ActionView::MissingTemplate => e
- raise e unless e.path == action_name
+ raise e unless e.action_name == action_name
# If the path is the same as the action_name, the action is completely missing
raise UnknownAction, "No action responded to #{action_name}. Actions: " +
"#{action_methods.sort.to_sentence}", caller