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

Fix issue with controller processor

and methods called outside of controller
上级 9c4ac22f
......@@ -59,7 +59,7 @@ class ControllerProcessor < BaseProcessor
#Methods called inside class definition
#like attr_* and other settings
if @current_method.nil? and target.nil?
if @current_method.nil? and target.nil? and @controller
if args.length == 1 #actually, empty
case method
when :private, :protected, :public
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册