lib/ixtlan/guard/guard_rails.rb in ixtlan-guard-0.8.1 vs lib/ixtlan/guard/guard_rails.rb in ixtlan-guard-0.8.2
- old
+ new
@@ -2,9 +2,10 @@
module Guard
module ActionController
def self.included(base)
base.send(:include, InstanceMethods)
base.send(:include, GroupsMethod)
+ base.send(:before_filter, :authorize)
end
class Filter
attr_reader :block
def initialize(method, options, &block)