Add deleted_at for User
Do not remove the user from the database. Mark as deleted instead.
This commit is contained in:
parent
b30b4e46d8
commit
b05ac2ab64
15 changed files with 82 additions and 12 deletions
|
|
@ -173,6 +173,7 @@ Foodsoft::Application.routes.draw do
|
|||
root to: 'base#index'
|
||||
|
||||
resources :users do
|
||||
post :restore, on: :member
|
||||
post :sudo, on: :member
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue