Add Quantity #reparent action

This commit is contained in:
2025-01-14 15:02:38 +01:00
parent 4b453c1a82
commit 644d1f4b9a
5 changed files with 34 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
Rails.application.routes.draw do
resources :quantities, except: [:show], path_names: {new: '(/:id)/new'} do
member { post :rebase }
member { post :reparent }
end
resources :units, except: [:show], path_names: {new: '(/:id)/new'} do