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
Use Identifiable#current_user in Api::ProjectsController#update
Previously this was using the `@current_user` instance variable.
However, I think this was working somewhat by accident - probably
because `authorize_resource` was calling `Identifiable#current_user` and
thus setting `@current_user`. I think it's safer to have an explicit
call to `Identifiable#current_user`.
0 commit comments