Order more reasonably #27

Merged
atomaka merged 1 commit from reverse-credit-order into main 2024-08-16 21:51:30 -04:00

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