X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fpurchase%2Flist.rhtml;h=4b2306d0a4f9bf7219caa980f15123279c95fb53;hb=da871e3e27c31759e0d017c89ccf16a14db1a227;hp=504bc6123ee5da8bade3a7e8cba0e0d5d66f68d2;hpb=2b6a0952011552367bc40f8cce3f5ff23b1f473f;p=cs356-p2-videostore.git diff --git a/app/views/purchase/list.rhtml b/app/views/purchase/list.rhtml index 504bc61..4b2306d 100644 --- a/app/views/purchase/list.rhtml +++ b/app/views/purchase/list.rhtml @@ -12,7 +12,7 @@ <% for purchase in @purchases %> <%=link_to purchase.date, :action => 'filterbydate', :id => purchase.date %> - <%=link_to purchase.class, :action => 'filterbytype', :id => purchase.type %> + <%=link_to purchase.class, :action => 'filterbytype', :id => purchase.class %> <%=h purchase.title %> <%=h number_to_currency(purchase.price) %> <%=link_to purchase.customer.name, :action => 'filterbycust', :id => purchase.customer_id %>