change CRUD for budget groups and headings

To make it more consistent with the rest of the Admin panel,
the CRUD for budget groups and headings has been changed
from the old "all-in-one" form to a separate form for each resource.
This commit is contained in:
Julian Herrero
2018-12-13 10:34:01 +01:00
parent 8fb8f70efd
commit 6439be44f1
23 changed files with 757 additions and 250 deletions

View File

@@ -57,8 +57,8 @@ namespace :admin do
put :calculate_winners
end
resources :budget_groups do
resources :budget_headings
resources :groups, except: [:show], controller: "budget_groups" do
resources :headings, except: [:show], controller: "budget_headings"
end
resources :budget_investments, only: [:index, :show, :edit, :update] do