Sha256: 36ebf611ea7dbdc183e2083cc1695e7f897bd0df95890a3f456145aa7a6656e2

Contents?: true

Size: 467 Bytes

Versions: 12

Compression:

Stored size: 467 Bytes

Contents

Rails.application.routes.draw do
  get '/', to: -> (_env) do # rubocop: disable Style/Lambda, Style/SpaceInLambdaLiteral, Rails/HttpPositionalArguments
    [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 # rubocop: disable Rails/HttpPositionalArguments
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kadmin-0.6.8 test/dummy/config/routes.rb
kadmin-0.6.7 test/dummy/config/routes.rb
kadmin-0.6.6 test/dummy/config/routes.rb
kadmin-0.6.5 test/dummy/config/routes.rb
kadmin-0.6.4 test/dummy/config/routes.rb
kadmin-0.6.3 test/dummy/config/routes.rb
kadmin-0.6.1 test/dummy/config/routes.rb
kadmin-0.5.7 test/dummy/config/routes.rb
kadmin-0.5.6 test/dummy/config/routes.rb
kadmin-0.4.2 test/dummy/config/routes.rb
kadmin-0.4.1 test/dummy/config/routes.rb
kadmin-0.4.0 test/dummy/config/routes.rb