lib/rawbotz/views/product/view.haml in rawbotz-0.1.2 vs lib/rawbotz/views/product/view.haml in rawbotz-0.1.3

- old
+ new

@@ -18,10 +18,10 @@ - backend_url = Rawbotz::LocalShop.product_page_backend(@product, settings.conf) %a(href="#{backend_url}" target="blank") = backend_url .pure-control-group %label(for="supplier") Supplier - = @product.supplier.try(:name) + = supplier_link @product.supplier .pure-control-group %label(for="supplier") Remote Product - if @product.remote_product.nil? %a(href="/product/#{@product.id}/link") Link to ... - else