10 lines
219 B
Ruby
10 lines
219 B
Ruby
|
module PathHelper
|
||
|
def finance_group_transactions_path(ordergroup)
|
||
|
if ordergroup
|
||
|
finance_ordergroup_transactions_path(ordergroup)
|
||
|
else
|
||
|
finance_foodcoop_financial_transactions_path
|
||
|
end
|
||
|
end
|
||
|
end
|