Sha256: 7b39b236da1e70ea4717a5d0263fdabc1fad823e93446fbddd579701f7375ced

Contents?: true

Size: 583 Bytes

Versions: 5

Compression:

Stored size: 583 Bytes

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
  end

  resources :people

  resources :groups
  resources :roles

  # post '/auth/:provider/callback', to: 'sessions#create'

  get '/address/validate_ruian' => 'addresses#validate_ruian', as: :validate_ruian


end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
egov_utils-0.1.27 config/routes.rb
egov_utils-0.1.26 config/routes.rb
egov_utils-0.1.23 config/routes.rb
egov_utils-0.1.19 config/routes.rb
egov_utils-0.1.18 config/routes.rb