Remove unused edit variable in articles_by-views

The edit version is already handled in group_order_article_edit_result().
This commit is contained in:
Patrick Gansterer 2020-03-23 12:16:34 +01:00
parent 17059a8104
commit f8a4341c76
6 changed files with 6 additions and 7 deletions

View file

@ -9,6 +9,6 @@
%th= t 'shared.articles_by.price'
- for order_article in order.order_articles.ordered.includes([:article, :article_price])
= render 'shared/articles_by/article_single', order_article: order_article, edit: (edit rescue nil)
= render 'shared/articles_by/article_single', order_article: order_article
%tr
%td{colspan: 4}