Class: Saasaparilla::BillingHistoryController

Inherits:
ApplicationController show all
Includes:
Authentication::InstanceMethods
Defined in:
app/controllers/saasaparilla/billing_history_controller.rb

Instance Method Summary collapse

Methods included from Authentication::InstanceMethods

included, #require_current_billable

Instance Method Details

#showObject



5
6
7
8
# File 'app/controllers/saasaparilla/billing_history_controller.rb', line 5

def show
  @billing_activities = current_billable.subscription.billing_activities.order('created_at asc')
  
end