Add headings step to budget creation

Co-Authored-By: decabeza <alberto@decabeza.es>
This commit is contained in:
Julian Herrero
2020-03-22 04:54:10 +01:00
committed by Javi Martín
parent 0a2c70cbfe
commit f8d6ba12d7
27 changed files with 537 additions and 78 deletions

View File

@@ -10,4 +10,8 @@ class Admin::BudgetGroups::GroupsComponent < ApplicationComponent
def budget
@budget ||= groups.first.budget
end
def headings_path(table_actions_component, group)
send("#{table_actions_component.namespace}_budget_group_headings_path", group.budget, group)
end
end