diff options
author | David Gay <david@davidgay.org> | 2021-05-28 15:05:13 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-28 15:05:13 -0400 |
commit | 1a27db1925501902b4a122b6b76e8e20075adb85 (patch) | |
tree | 190a451e637fbdd2b214984fc44f5a48220d791b | |
parent | 8f8a80b5692e374bfbe27b7071597ada712c3704 (diff) |
Order bazaar item selection by name
-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 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 |