Add headings step to budget creation
Co-Authored-By: decabeza <alberto@decabeza.es>
This commit is contained in:
committed by
Javi Martín
parent
0a2c70cbfe
commit
f8d6ba12d7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user