提交 ac19e657 编写于 作者: J Justin Collins

[CSC] name -> method in ControllerProcessor

mixed up method name
上级 f5580a05
......@@ -161,7 +161,7 @@ class Brakeman::ControllerProcessor < Brakeman::BaseProcessor
#Look for before_filters and add fake ones if necessary
def process_iter exp
if exp.block_call.name == :before_filter
if exp.block_call.method == :before_filter
add_fake_filter exp
else
super
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册