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
|
|
@ -21,5 +21,7 @@
|
|||
%td= number_to_currency(article.price)
|
||||
%td= article.unit
|
||||
%td= article.unit_quantity
|
||||
%td= link_to_remote 'importieren', :url => {:action => 'new_import', :id => article, :supplier_id => @supplier.id}
|
||||
%td= link_to_remote 'importieren', |
|
||||
:url => import_supplier_articles_path(@supplier, :shared_article_id => article.id), |
|
||||
:method => :get |
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue