aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-25 20:05:17 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-25 20:05:17 +0000
commitc328f64e37dac9bdec742bb82ffde14b84fe5e74 (patch)
treed2b2a88d8499c93d6202aec85b6847357db5e80c /actionpack
parent76242253adcba41677896746846ec6bcb4632f92 (diff)
downloadrails-c328f64e37dac9bdec742bb82ffde14b84fe5e74.tar.gz
rails-c328f64e37dac9bdec742bb82ffde14b84fe5e74.tar.bz2
rails-c328f64e37dac9bdec742bb82ffde14b84fe5e74.zip
Catch ArgumentError not NameError
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/helpers.rb b/actionpack/lib/action_controller/helpers.rb
index e664ab2856..1201d31946 100644
--- a/actionpack/lib/action_controller/helpers.rb
+++ b/actionpack/lib/action_controller/helpers.rb
@@ -96,7 +96,7 @@ module ActionController #:nodoc:
inherited_without_helper(child)
begin
child.helper(child.controller_name)
- rescue NameError, LoadError
+ rescue ArgumentError, LoadError
# No default helper available for this controller
end
end