diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 5f90ff3..6754031 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,5 +4,10 @@ Rails.application.routes.draw do 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 |