mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-01 21:21:02 -05:00
Call destroy, to mark a member as deleted
This commit is contained in:
@@ -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