提交 d8126772 编写于 作者: P Piotr Sarnacki

We don't need to clear action_methods on inherited hook as they are cleaned on method_added hook

上级 56ef1923
......@@ -361,11 +361,6 @@ class Base < AbstractController::Base
}.freeze
class << self
def inherited(klass)
super(klass)
klass.clear_action_methods!
end
def mailer_name
@mailer_name ||= name.underscore
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册