removed account destroy

This commit is contained in:
2016-09-28 22:15:37 -05:00
parent 81c667da0f
commit 2a10a93ac9
4 changed files with 1 additions and 15 deletions

View File

@ -40,11 +40,6 @@ class AccountsController < ApplicationController
end
end
def destroy
@account.destroy
redirect_to accounts_url, notice: 'Account was successfully destroyed.'
end
private
def set_account