Module: PathHelper

Included in:
ApplicationController, ApplicationHelper
Defined in:
app/helpers/path_helper.rb

Instance Method Summary collapse

Instance Method Details

#finance_group_transactions_path(ordergroup) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/path_helper.rb', line 2

def finance_group_transactions_path(ordergroup)
  if ordergroup
    finance_ordergroup_transactions_path(ordergroup)
  else
    finance_foodcoop_financial_transactions_path
  end
end