Added quantity filtering by domain
This commit is contained in:
@@ -67,6 +67,8 @@ en:
|
||||
contextual:
|
||||
link_import_ingredients: 'Import'
|
||||
link_new_ingredient: 'New ingredient'
|
||||
filters:
|
||||
visibility_prompt: 'all'
|
||||
import:
|
||||
heading_import_ingredients: 'Import'
|
||||
label_import_select_csv_file: 'Select CSV file'
|
||||
@@ -98,6 +100,8 @@ en:
|
||||
heading_new_source: 'New source'
|
||||
link_new_source: 'New source'
|
||||
quantities:
|
||||
filters:
|
||||
domain_prompt: 'all'
|
||||
index:
|
||||
heading: 'Quantities'
|
||||
heading_new_quantity: 'New quantity'
|
||||
|
||||
@@ -21,6 +21,7 @@ resources :projects do
|
||||
resources :quantities, :only => [:index, :create, :destroy] do
|
||||
post 'toggle', on: :member
|
||||
post 'up', 'down', 'left', 'right', on: :member
|
||||
get 'filter', on: :collection
|
||||
end
|
||||
resources :units, :only => [:index, :create, :destroy]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user