lib/rails/auth/config_builder.rb in rails-auth-2.1.3 vs lib/rails/auth/config_builder.rb in rails-auth-2.1.4
- old
+ new
@@ -9,10 +9,10 @@
config.x.rails_auth.acl = Rails::Auth::ACL.from_yaml(
File.read(acl_file.to_s),
matchers: matchers
)
- config.middleware.use Rails::Auth::ACL::Middleware, acl: config.x.acl
+ config.middleware.use Rails::Auth::ACL::Middleware, acl: config.x.rails_auth.acl
end
# Development configuration (i.e. config/environments/development.rb)
def development(config, development_credentials: {}, error_page: :debug)
error_page_middleware(config, error_page)