Sha256: 3a693d65c38aed25e587744315e35140004db8fc3993ed53730014504d9be33f

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

require_dependency "tang/application_controller"

module Tang
  class Account::ReceiptsController < Account::ApplicationController
    def index
      @invoices = current_customer.invoices.
                                   paginate(page: params[:page]).
                                   order(date: :desc)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tang-0.2.2 app/controllers/tang/account/receipts_controller.rb
tang-0.2.1 app/controllers/tang/account/receipts_controller.rb
tang-0.2.0 app/controllers/tang/account/receipts_controller.rb