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
In the MessagesController we currently set the @user from the user_id parameter and only use this in the _form partial to construct the url to POST to. We could use the current_user instead.
Alternatively we could remove the nesting of messages under users entirely since any user will only ever edit/view his own messages.
The text was updated successfully, but these errors were encountered:
In the MessagesController we currently set the @user from the user_id parameter and only use this in the _form partial to construct the url to POST to. We could use the current_user instead.
Alternatively we could remove the nesting of messages under users entirely since any user will only ever edit/view his own messages.
The text was updated successfully, but these errors were encountered: