Skip to content

Commit

Permalink
remove old method for financial transactions
Browse files Browse the repository at this point in the history
* seems to be deprecated with 113a14d
  • Loading branch information
mortbauer committed May 24, 2024
1 parent e6da86f commit 971e20c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/controllers/finance/financial_transactions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ def new
def create
@financial_transaction = FinancialTransaction.new(params[:financial_transaction])
@financial_transaction.user = current_user
if @financial_transaction.ordergroup
@financial_transaction = @financial_transaction.add_transaction!
else
@financial_transaction.save!
end
@financial_transaction.save!

respond_to do |format|
format.js
Expand Down

0 comments on commit 971e20c

Please sign in to comment.