Note that if this ID is the current authenticated user ID, then it will redirect to /profile. This is for when a user clicks on their avatar in a messages page, for example. The goal is for /user/user.id to redirect to this page. The whole workflow is to be implemented in #284.
Ensure that the relationship between the current user and the other user is accurate with respect to the Friends table in the db
Closes #272
To test:
/profile
. This is for when a user clicks on their avatar in a messages page, for example. The goal is for /user/user.id to redirect to this page. The whole workflow is to be implemented in #284.Friends
table in the db