Order more reasonably
All checks were successful
Ruby CI / test (pull_request) Successful in 31s

This commit is contained in:
Andrew Tomaka 2024-08-16 21:46:28 -04:00
parent 452be0c49c
commit 3f264886d2
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

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