The API Controller checks if the user is logged in and whether they are an admin, and checks for the X-Admin-Mode header |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| concerns | ||
| application_controller.rb | ||
| tokens_controller.rb | ||
The API Controller checks if the user is logged in and whether they are an admin, and checks for the X-Admin-Mode header |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| concerns | ||
| application_controller.rb | ||
| tokens_controller.rb | ||