lk | changes order of bikes and adds log bikes button to home page

This commit is contained in:
Louis Knapp
2015-09-18 13:48:16 -05:00
parent 2edbcb5bbf
commit b480d7b405
3 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -14,7 +14,7 @@
%tbody
- @unsold_bikes.each do |bike|
%tr
%td= bike.brand
%td= bike.brand
%td= bike.model
%td= link_to 'Show', bike
%td= link_to 'Edit', edit_bike_path(bike)
@@ -30,8 +30,8 @@
%tbody
- @bikes.each do |bike|
%tr
%td= bike.brand
%td= bike.brand
%td= bike.model
%td= link_to 'Show', bike
%td= link_to 'Edit', edit_bike_path(bike)