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:
parent
17059a8104
commit
f8a4341c76
6 changed files with 6 additions and 7 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue