mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
lk | changes order of bikes and adds log bikes button to home page
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user