Sha256: 6e4a6acdf78bf102c8da9aab7dedbd2eb455f71780353eedf52fad811c988c11

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

Kadmin::Engine.routes.draw do
  get '/', controller: :dash, action: :index

  scope '/auth', controller: :auth, as: 'auth', defaults: { format: 'html' } do
    get '/login', action: :login, as: :login
    get '/logout', action: :logout, as: :logout
    get '/:provider/callback', action: :save
    post '/:provider/callback', action: :save
    get '/failure', action: :failure, as: :failure
    get '/unauthorized', action: :unauthorized, as: :unauthorized
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kadmin-0.3.2 config/routes.rb