Sha256: 6ae07f937f9f4f3983d1ddd206ee6d3da6325a5378747df2ceec5fe9936b5db0

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

module Auther
  class Engine < ::Rails::Engine
    isolate_namespace Auther

    # Set defaults. Can be overwritten in app config.
    config.auther_settings = {}

    initializer "auther.initialize" do |app|
      # Initialize Gatekeeper middleware.
      app.config.app_middleware.use Auther::Gatekeeper, app.config.auther_settings
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auther-0.2.0 lib/auther/engine.rb
auther-0.1.0 lib/auther/engine.rb