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


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

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