forked from fixin.me/fixin.me
Add Quantity #reparent action
This commit is contained in:
@@ -68,6 +68,7 @@ en:
|
||||
destroy: Delete
|
||||
index:
|
||||
new_quantity: Add quantity
|
||||
top_level_drop: Drop here to reposition into top-level quantity
|
||||
create:
|
||||
success: Created new quantity "%{quantity}"
|
||||
update:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user