Skip to content

Commit

Permalink
revert changes on home controller
Browse files Browse the repository at this point in the history
  • Loading branch information
yksflip committed Mar 6, 2023
1 parent afd82a4 commit 3f28f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def reference_calculator
@bank_accounts = @types.includes(:bank_account).map(&:bank_account).uniq.compact
@bank_accounts = [BankAccount.last] if @bank_accounts.empty?
else
redirect_to root_path, alert: I18n.t('group_orders.errors.no_member')
redirect_to root_url, alert: I18n.t('group_orders.errors.no_member')
end
end

Expand Down

0 comments on commit 3f28f81

Please sign in to comment.