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
|
# GET /credit_card_bills or /credit_card_bills.json
|
||||||
def index
|
def index
|
||||||
@credit_card_bills = CreditCardBill.all
|
@credit_card_bills = CreditCardBill.all.order(created_at: :desc)
|
||||||
end
|
end
|
||||||
|
|
||||||
# GET /credit_card_bills/1 or /credit_card_bills/1.json
|
# GET /credit_card_bills/1 or /credit_card_bills/1.json
|
||||||
|
|
Loading…
Reference in a new issue