Sha256: 29181c383e6dc3db9b6cbc6075055fe4a179990c05028e0c4dac82f2f271bba1
Contents?: true
Size: 784 Bytes
Versions: 1
Compression:
Stored size: 784 Bytes
Contents
Mks::Auth::Engine.routes.draw do get '/csrf_token', to: 'access#csrf_token' get '/attempt_login', to: 'access#attempt_login' get '/logout', to: 'access#logout' get '/menu', to: 'access#menu' get '/check_login', to: 'access#check_login' post '/login', to: 'access#attempt_login' resources :application_modules # get '/users', to: 'users#index' resources :users, except: [:new, :edit, :show, :destroy] get '/users/roles', controller: :users, action: :roles get '/users/fetch_by_role', to: 'users#fetch_by_role' # get '/user_roles', to: 'user_roles#index' resources :user_roles, except: [:new, :edit, :show, :destroy] post '/assign_roles', to: 'user_roles#assign_roles' get '/assigned_roles/:user_id', to: 'user_roles#get_assigned_roles' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mks_auth-1.0.0 | config/routes.rb |