diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/bazaar_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/bazaar_controller.rb b/app/controllers/bazaar_controller.rb index 3492053..5ed8a59 100644 --- a/app/controllers/bazaar_controller.rb +++ b/app/controllers/bazaar_controller.rb @@ -1,6 +1,6 @@ class BazaarController < ApplicationController def index - @bazaar_orders = BazaarOrder.joins(:item).order("items.name ASC, price_each ASC, created_at ASC") + @bazaar_orders = BazaarOrder.joins(:item) @items = Item.all.order(:name) end |