lib/generator/views/home.erb in shopify-sinatra-app-0.0.7 vs lib/generator/views/home.erb in shopify-sinatra-app-0.0.8
- old
+ new
@@ -7,10 +7,10 @@
<table class="table table-striped table-hover">
<tbody>
<% @products.each do |product| %>
<tr>
<td>
- <a href=<%="https://#{current_shop_name}/admin/products/#{product.id}"%> target="_blank"> <%= product.id %> </a>
+ <a href=<%="#{current_shop_url}/admin/products/#{product.id}"%> target="_blank"> <%= product.id %> </a>
</td>
</tr>
<% end %>
</tbody>
</table>