blob: 49a6383303b39f743305ae408f26485fcce4a353 (
plain)
1
2
3
4
5
6
7
8
9
|
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
|