Comply to the new dependency reload system

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 ee662e97
......@@ -96,7 +96,7 @@ def inherited(child)
inherited_without_helper(child)
begin
child.helper(child.controller_name)
rescue LoadError, StandardError
rescue Object
# No default helper available for this controller
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册