Sha256: 24654ba34e5d6b4245072e81f2e50708a8ef74bbffeee1d8f5761e6ba1dd3f74

Contents?: true

Size: 359 Bytes

Versions: 7

Compression:

Stored size: 359 Bytes

Contents

Rails.application.routes.draw do
  get '/', to: -> (_env) do # rubocop: disable Style/Lambda
    [200, { 'Content-Type' => 'text/plain' }, ['Howdy']]
  end

  namespace :admin do
    resources :people
    resources :groups
  end
  mount Kadmin::Engine => Kadmin.config.mount_path, as: :kadmin

  get '/authorized', controller: :authorized, action: :index
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kadmin-0.3.1 test/dummy/config/routes.rb
kadmin-0.3.0 test/dummy/config/routes.rb
kadmin-0.2.8 test/dummy/config/routes.rb
kadmin-0.2.7 test/dummy/config/routes.rb
kadmin-0.2.6 test/dummy/config/routes.rb
kadmin-0.2.3 test/dummy/config/routes.rb
kadmin-0.2.2 test/dummy/config/routes.rb