Adapt phases step to single and multiple budget mode
Co-Authored-By: decabeza <alberto@decabeza.es>
This commit is contained in:
committed by
Javi Martín
parent
e3510fc29d
commit
4c6de86a72
@@ -37,4 +37,10 @@ class Admin::BudgetPhases::PhasesComponent < ApplicationComponent
|
||||
tag.span t("shared.no"), class: "budget-phase-disabled"
|
||||
end
|
||||
end
|
||||
|
||||
def edit_path(phase)
|
||||
if helpers.respond_to?(:single_heading?) && helpers.single_heading?
|
||||
edit_admin_budgets_wizard_budget_budget_phase_path(budget, phase, helpers.url_params)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user