added a method for modifying a user email

This commit is contained in:
clemkeirua 2020-01-13 14:35:25 +01:00
parent 4eb7d854a9
commit 5f65665b07
5 changed files with 50 additions and 3 deletions

View file

@ -24,7 +24,7 @@ Rails.application.routes.draw do
delete 'delete', on: :member
end
resources :users, only: [:index, :show] do
resources :users, only: [:index, :show, :edit, :update] do
delete 'delete', on: :member
post 'resend_confirmation_instructions', on: :member
put 'enable_feature', on: :member