From 3f264886d2b6c684c24cc316b8535292b84ecc52 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 16 Aug 2024 21:46:28 -0400 Subject: [PATCH] Order more reasonably --- app/controllers/credit_card_bills_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/credit_card_bills_controller.rb b/app/controllers/credit_card_bills_controller.rb index d1f027a..4dc23ab 100644 --- a/app/controllers/credit_card_bills_controller.rb +++ b/app/controllers/credit_card_bills_controller.rb @@ -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