提交 a92e4bff 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #30896 from y-yagi/remove_unused_before_filters

Remove unused `before_filters`
......@@ -12,11 +12,5 @@ def recycle!
self.params = nil
end
end
module ClassMethods
def before_filters
_process_action_callbacks.find_all { |x| x.kind == :before }.map(&:name)
end
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册