Class: Account::ReceiptsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/tang/account/receipts_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
# File 'app/controllers/tang/account/receipts_controller.rb', line 5

def index
  @invoices = current_customer.invoices.
                               paginate(page: params[:page]).
                               order(date: :desc)
end