foodsoft/app/helpers/path_helper.rb

12 lines
221 B
Ruby
Raw Normal View History

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