Provides a simple UI to view and manage some aspects of Caffeinate.
Add this line to your application's Gemfile:
And then execute:
Drop it into your routes:
mountCaffeinate::Webui::Engine=>'/admin/caffeinate'
If you're using Devise, you can simply:
authenticate:user,->(user){user.admin?}domountCaffeinate::Webui::Engine=>'/admin/caffeinate'end
Otherwise, protect it with your preferred rack-based strategy.
- Some lightweight dashboard stuff
- View campaigns and their steps
- View subscriptions
- Unsubscribe a subscription
- View mailings
Doesn't need Sprockets, so I guess that's nice.