diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index b6a4863e..9214ad03 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -23,7 +23,6 @@ def update end def create - params[:account][:automatic_topup_configs_attributes]['0'][:from_account_id] = current_user.account.id Account.create!(parent: current_user.account, **account_params) redirect_to my_account_path end