Refactoring of articles and article_categories. articles are now a nested resource of supplier.
This commit is contained in:
parent
b38025869a
commit
936e6ef69a
36 changed files with 597 additions and 589 deletions
|
|
@ -83,10 +83,4 @@ class DeliveriesController < ApplicationController
|
|||
page.visual_effect(:DropOut, "stock_change_#{stock_change.id}")
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def find_supplier
|
||||
@supplier = Supplier.find(params[:supplier_id]) if params[:supplier_id]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue