X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fpurchase%2Flist.rhtml;h=b702f7f69daa3db14ab2bd021eea1a828b8d791e;hb=e4597521e3a7365f86731f7d69643cb1067acb5e;hp=4c6e1ec47e084025e5b20be215243bbb3a7f90c2;hpb=b12881a928516bca02b2bd8ce1bbe9288840c76f;p=cs356-p2-videostore.git diff --git a/app/views/purchase/list.rhtml b/app/views/purchase/list.rhtml index 4c6e1ec..b702f7f 100644 --- a/app/views/purchase/list.rhtml +++ b/app/views/purchase/list.rhtml @@ -14,7 +14,7 @@ <%=link_to purchase.date, :action => 'filterbydate', :id => purchase.date %> <%=h purchase.quantity %> - <%=link_to purchase.type, :action => 'filterbytype', :id => purchase.type %> + <%=link_to purchase.class, :action => 'filterbytype', :id => purchase.type %> <%=h purchase.title %> <%=h purchase.price %> <%=link_to purchase.customer.name, :action => 'filterbycust', :id => purchase.customer_id %>