Use new ruby style

This commit is contained in:
tl3ilaxu 2016-03-02 22:03:07 +01:00
parent 67c07d50b8
commit 3a4c45a4eb

View file

@ -1,6 +1,6 @@
.col-md-3 .col-md-3
.thumbnail.pic.dagschotel-edit .thumbnail.pic.dagschotel-edit
= image_tag product.avatar, :class => "dagschotel-edit-image img-responsive" = image_tag product.avatar, class: "dagschotel-edit-image img-responsive"
.caption .caption
= kcal_tag product.calories = kcal_tag product.calories
%h4= product.name %h4= product.name