Class: Saasaparilla::Admin::TransactionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Saasaparilla::Admin::TransactionsController
- Defined in:
- app/controllers/saasaparilla/admin/transactions_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /admin/subscriptions.
Methods included from Authorization::InstanceMethods
Methods included from Authentication::InstanceMethods
included, #require_current_billable
Instance Method Details
#index ⇒ Object
GET /admin/subscriptions
8 9 10 11 |
# File 'app/controllers/saasaparilla/admin/transactions_controller.rb', line 8 def index @subscription = Subscription.find(params[:subscription_id]) @transactions = @subscription.transactions.paginate(:page => params[:page], :per_page => 20, :order => "created_at DESC") end |