diff options
| author | mo <mokha@cisco.com> | 2017-09-01 21:49:57 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-09-01 21:49:57 -0600 |
| commit | 9c6bed0386471be68ac8302b687beb56c40c24b3 (patch) | |
| tree | e66adc5ff10f0979c4475c839b6375329a3437c5 /app/controllers/admin/subscriptions_controller.rb | |
| parent | 09f1f23411183c40c685ef35de27c16b5f404c30 (diff) | |
remove subscriptions page.
Diffstat (limited to 'app/controllers/admin/subscriptions_controller.rb')
| -rw-r--r-- | app/controllers/admin/subscriptions_controller.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/controllers/admin/subscriptions_controller.rb b/app/controllers/admin/subscriptions_controller.rb deleted file mode 100644 index 49a63833..00000000 --- a/app/controllers/admin/subscriptions_controller.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Admin - class SubscriptionsController < AdminController - def index - members = Gibbon::API.lists.members({ id: ENV['MAILCHIMP_LIST_ID'], status: 'subscribed'}) - @subscriptions = members["data"] - @total = members["total"] - end - end -end |
