Sha256: 1a48883d0c6438b56b56e87123d4d5f29911b2f2944c1942a6d46418da783f92
Contents?: true
Size: 456 Bytes
Versions: 45
Compression:
Stored size: 456 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', as: :logout end end
Version data entries
45 entries across 45 versions & 3 rubygems