Add stock_article_selection (deleting multiple stock articles at once)
This commit is contained in:
parent
ecb7ce7cd3
commit
099e2b9b06
13 changed files with 217 additions and 34 deletions
|
|
@ -89,6 +89,14 @@ Foodsoft::Application.routes.draw do
|
|||
post :add_stock_article
|
||||
end
|
||||
end
|
||||
|
||||
resources :stock_article_selections, :controller => 'stockit_selections',
|
||||
:only => [ :create, :show, :index, :destroy ], :path => "/stock_articles/selections" do
|
||||
member do
|
||||
delete 'articles'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
resources :stock_articles, :to => 'stockit' do
|
||||
collection do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue