blob: 6754031cc32cdddf7a33c855c9d508375e1e9e5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Rails.application.routes.draw do
devise_scope :user do
get "login", to: "devise/sessions#new"
get "logout", to: "devise/sessions#destroy"
end
devise_for :users, skip: [:registrations]
as :user do
get "users/edit", to: "devise/registrations#edit", as: "edit_user_registration"
put "users", to: "devise/registrations#update", as: "user_registration"
end
root to: "home#index", as: :home_index
end
|