Order more reasonably #27
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue