removed account destroy
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user