fix and cleanup routing (closes foodcoops#190)

This commit is contained in:
wvengen 2013-10-30 01:56:23 +01:00
parent 70c12b7c1f
commit de948d7692
9 changed files with 21 additions and 18 deletions

View file

@ -1,3 +1,3 @@
%tr.edit_inline{:id=> "edit_"+@article.id.to_s}
%td{:colspan=>"10"}
= t('.note', article: h(@article.name), drop_link: link_to(t('.drop'), :controller => 'orders', :action => 'edit', :id => @order)).html_safe
= t('.note', article: h(@article.name), drop_link: link_to(t('.drop'), edit_order_path(@order))).html_safe