Refactoring of articles and article_categories. articles are now a nested resource of supplier.

This commit is contained in:
Benjamin Meichsner 2009-01-16 16:19:26 +01:00
parent b38025869a
commit 936e6ef69a
36 changed files with 597 additions and 589 deletions

View file

@ -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 |