diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index d01a78caa..cdb45ec49 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -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