Order more reasonably (#27)

Reviewed-on: #27
This commit is contained in:
Andrew Tomaka 2024-08-16 21:51:29 -04:00
parent 452be0c49c
commit bdfda77603

View file

@ -3,7 +3,7 @@ class CreditCardBillsController < ApplicationController
# GET /credit_card_bills or /credit_card_bills.json
def index
@credit_card_bills = CreditCardBill.all
@credit_card_bills = CreditCardBill.all.order(created_at: :desc)
end
# GET /credit_card_bills/1 or /credit_card_bills/1.json