Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not leak all pages for guest users in API controller
CanCanCan does not respect any scope set before `accessible_by`. We need to make sure the additional scopes get called afterwards.
- Loading branch information