Call destroy, to mark a member as deleted

This commit is contained in:
Brenda Wallace committed 2017-05-21 11:32:54 +12:00
1 parent 7d4c9011aa
commit 4a926415db
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ class MembersController < ApplicationController
end
def destroy
@member.update!(deleted: true)
@member.destroy
redirect_to root_path
end