Sha256: 62dd98dbe3e32bcfec939c1a148d2e0c6cc77b071df01c507f532887aede74d2
Contents?: true
Size: 783 Bytes
Versions: 2
Compression:
Stored size: 783 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' resource :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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mks_auth-1.4.0 | config/routes.rb |
mks_auth-1.2.0 | config/routes.rb |