Sha256: 498407ae8ff98ecc3e9df38ad8b2403a8d0cd57eb71a7488dab8f579b40dfb1e
Contents?: true
Size: 443 Bytes
Versions: 14
Compression:
Stored size: 443 Bytes
Contents
ConstructorCore::Engine.routes.draw do scope 'admin' do get 'profile/:id' => 'users#profile', as: :user post 'profile/:id' => 'users#update_password' devise_for :users, { class_name: 'ConstructorCore::User', module: :devise } end as :user do get '/admin' => 'sessions#new' get '/login' => 'sessions#new' post '/login' => 'sessions#create' delete '/logout' => 'sessions#destroy' end end
Version data entries
14 entries across 14 versions & 2 rubygems