lib/effective_developer.rb in effective_developer-0.2.12 vs lib/effective_developer.rb in effective_developer-0.2.13

- old
+ new

@@ -7,13 +7,6 @@ def self.setup yield self end - def self.authorized?(controller, action, resource) - if authorization_method.respond_to?(:call) || authorization_method.kind_of?(Symbol) - raise Effective::AccessDenied.new() unless (controller || self).instance_exec(controller, action, resource, &authorization_method) - end - true - end - end