Sha256: f7f49ea56b9821633e29c47faca2600249f7840e88f60523ae7f325903588634
Contents?: true
Size: 1.48 KB
Versions: 12
Compression:
Stored size: 1.48 KB
Contents
EgovUtils::Engine.routes.draw do get '/login', to: 'sessions#new', as: 'signin' post '/login', to: 'sessions#create' delete '/logout', to: 'sessions#destroy', as: 'signout' get '/signup', to: 'users#new', as: 'signup' resources :sessions resources :users do get :search, on: :collection post :approve, on: :member get :confirm, on: :member patch :unarchive, on: :member end resource :current_user, only: %i[edit update] resources :registration_requests, only: %i[new create show index update] resources :people do get :addresses end resources :towns, only: %i[index] resources :groups do member do get '/users/new', to: 'groups#new_users', as: 'new_users' post '/users', to: 'groups#add_users', as: 'users' end end resources :roles resources :passwords, only: %i[index edit update] do collection do get 'reset' post 'send_reset_token' end end get 'passwords/new/:token', to: 'passwords#new', as: 'new_password' post 'passwords/:token', to: 'passwords#create', as: 'create_password' # post '/auth/:provider/callback', to: 'sessions#create' get '/address/validate_ruian' => 'addresses#validate_ruian', as: :validate_ruian get '/organizations/district_courts' => 'organizations#district_courts', as: :district_courts_organizations resource :settings, only: %i[show update] namespace :redmine do resources :issues, only: :index end post '/iszr/search', to: 'iszr#search', as: 'iszr_search' end
Version data entries
12 entries across 12 versions & 1 rubygems