Sha256: e0743603e3c6d30882ccbc4539bd1ab28b9cb393cc669b7c75e3d8fa16d2b591
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
Rails.application.routes.draw do mount Kadmin::Engine => Kadmin.config.mount_path, as: :kadmin get '/', to: -> (_env) do [200, { 'Content-Type' => 'text/plain' }, ['Sup my guy']] end get '/admin', controller: :admin, action: :index get '/authorized', controller: :authorized, action: :index end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kadmin-0.1.6 | test/dummy/config/routes.rb |
kadmin-0.1.4 | test/dummy/config/routes.rb |