Class: TbCheckout::Admin::TransactionsController

Inherits:
Admin::ApplicationController
  • Object
show all
Defined in:
app/controllers/tb_checkout/admin/transactions_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
# File 'app/controllers/tb_checkout/admin/transactions_controller.rb', line 6

def index
  @transactions = TbCheckout::Transaction.order('created_at desc').paginate(:page => params[:page])
  respond_with @transactions
end

#showObject



11
12
13
# File 'app/controllers/tb_checkout/admin/transactions_controller.rb', line 11

def show
  respond_with @transaction
end