From 1a27db1925501902b4a122b6b76e8e20075adb85 Mon Sep 17 00:00:00 2001 From: David Gay Date: Fri, 28 May 2021 15:05:13 -0400 Subject: Order bazaar item selection by name --- app/controllers/bazaar_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/bazaar_controller.rb b/app/controllers/bazaar_controller.rb index b699d28..b9a8f21 100644 --- a/app/controllers/bazaar_controller.rb +++ b/app/controllers/bazaar_controller.rb @@ -1,7 +1,7 @@ class BazaarController < ApplicationController def index @bazaar_orders = BazaarOrder.all - @items = Item.all + @items = Item.all.order(:name) end def create_order -- cgit v1.2.3