Commit 98d5deb

mo khan <mo@mokhan.ca>
2015-03-14 15:57:41
add link to show page.
1 parent 97bfd0a
Changed files (1)
app
views
app/views/items/index.html.erb
@@ -33,7 +33,7 @@
             <img src="http://placehold.it/1000x1000&text=Thumbnail">
 
             <div class="panel">
-              <h5><%= item.name %></h5>
+              <h5><%= link_to item.name, item_path(item) %></h5>
               <h6 class="subheader"><%= number_to_currency item.purchase_price %></h6>
             </div>
           </div>