diff options
| author | mo <mo.khan@gmail.com> | 2017-09-02 22:46:07 +0000 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-09-02 22:46:07 +0000 |
| commit | 4d6fd17c8f1d7ee0ecb46e8323b61e4006bf39a4 (patch) | |
| tree | e9d098503da331c6b50c339166d1dd8f4a7c3c5f /app/controllers/admin/subscriptions_controller.rb | |
| parent | 85b4e006052f51dfb7fb02ee1fe7d6914cb6b17c (diff) | |
| parent | 6a6daa8c8d9223d6f3b29897bc23df386f28428b (diff) | |
Merge branch 'bootstrap' into 'master'
Bootstrap
Closes #10
See merge request !2
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 |
