lib/rails/auth/installed_constraint.rb in rails-auth-2.1.0 vs lib/rails/auth/installed_constraint.rb in rails-auth-2.1.1
- old
+ new
@@ -5,10 +5,10 @@
def initialize(config = Rails.application)
@config = config
end
def matches?(_request)
- !@config.middleware.include?(Rails::Auth::ACL::Middleware)
+ @config.middleware.include?(Rails::Auth::ACL::Middleware)
end
end
end
end