mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-05 04:14:30 -04:00
Call destroy, to mark a member as deleted
This commit is contained in:
1 parent
7d4c9011aa
commit
4a926415db
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class MembersController < ApplicationController
|
||||
end
|
||||
|
||||
def destroy
|
||||
@member.update!(deleted: true)
|
||||
@member.destroy
|
||||
redirect_to root_path
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user