Class: TbCheckout::Admin::TransactionsController
- Inherits:
-
Admin::ApplicationController
- Object
- Admin::ApplicationController
- TbCheckout::Admin::TransactionsController
- Defined in:
- app/controllers/tb_checkout/admin/transactions_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |
#show ⇒ Object
11 12 13 |
# File 'app/controllers/tb_checkout/admin/transactions_controller.rb', line 11 def show respond_with @transaction end |