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
|
|
@ -1,4 +1,4 @@
|
|||
- if User.count > 20
|
||||
- if User.undeleted.count > 20
|
||||
= items_per_page
|
||||
= pagination_links_remote @users
|
||||
%table.table.table-striped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue