main
rb 12 lines 381 Bytes
Raw
1 # frozen_string_literal: true
2
3 module Admin
4 # Recurring-revenue view: every subscription with its plan, status, and the
5 # customer behind it, plus headline MRR and plan/status breakdowns. The query
6 # and rollups live in Admin::SubscriptionSearch.
7 class SubscriptionsController < BaseController
8 def index
9 @search = SubscriptionSearch.new(params)
10 end
11 end
12 end