Jumpstart Pro ships with an admin area for browsing and managing your application and users.
The Jumpstart Pro admin area is a great place to take a peek into your application. You can access any of the models you have generated a dashboard for and provide customer support easily through it.
A dashboard is provided in the admin so you can see important metrics. By default, we show you details about your total and recent revenue and the number of users and active subscriptions to your product. You can customize this to add your own metrics as you build your application.
The admin area is available at /admin and only accessible to admin users of your application.
To set a user as an admin, simply update their admin flag:
Jumpstart.grant_system_admin! user from the Rails console.
Users have a flag on the model named
admin is true, the user will have access to
/admin and a link will appear in the navigation when they are logged in.
For security, the
/admin url returns a 404 for non-admins.
You may login as another user by visiting the user in the Admin and clicking the "Login As User" button. A banner will appear at the top of the site noting that you're logged in as another user.
To stop impersonating the user, simply click the "Logout" link in the impersonation banner.
To generate an admin dashboard for a model, you can run
rails g administrate:dashboard MODEL_NAME.