You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Pundit to validate resource ownership for my API. I chased a bug down to the lack of access to current_user, which should be available via devise_token_auth. Project is here. mount_devise_token_auth_for 'User', at: 'auth' is set in routes. Any ideas why this call is not working properly?
The text was updated successfully, but these errors were encountered:
I'm using
Pundit
to validate resource ownership for my API. I chased a bug down to the lack of access tocurrent_user
, which should be available viadevise_token_auth
. Project is here.mount_devise_token_auth_for 'User', at: 'auth'
is set in routes. Any ideas why this call is not working properly?The text was updated successfully, but these errors were encountered: