module ClassMethods
def included(controller)
controller.class_eval do
- def self.before_filter(...)
- before_action(...)
+ def self.before_filter(*names, &blk)
+ before_action(*names, &blk)
end
- def self.skip_before_filter(...)
- skip_before_action(...)
+ def self.skip_before_filter(*names, &blk)
+ skip_before_action(*names, &blk)
end
end