Skip to content

Commit

Permalink
Unlocks the necessary routes, with an extra gimmick
Browse files Browse the repository at this point in the history
  • Loading branch information
mereghost committed Oct 23, 2024
1 parent f0e83d6 commit 9aae322
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@
controller: "/admin/custom_fields/custom_field_projects",
only: :destroy
resources :items,
controller: "/admin/custom_fields/hierarchy/items",
only: %i[index new create destroy] do
controller: "/admin/custom_fields/hierarchy/items" do
get :deletion_dialog, on: :member
get :new_child, on: :member, action: :new
post :new_child, on: :member, action: :create
end
end
end
Expand Down

0 comments on commit 9aae322

Please sign in to comment.