Call destroy, to mark a member as deleted

This commit is contained in:
Brenda Wallace
2017-05-21 11:32:54 +12:00
parent 7d4c9011aa
commit 4a926415db

View File

@@ -55,7 +55,7 @@ class MembersController < ApplicationController
end
def destroy
@member.update!(deleted: true)
@member.destroy
redirect_to root_path
end