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
current_profile is loaded into the session in profiles_controller#load_profile. This is currently only used in creating or editing wall posts but should be happening more ubiquitously. This would allow us to move closer toward the goal of allowing a user to have multiple profiles.
The goal here is to remove calls to current_user.profiles.first and replace them with calls to current_profile. This may take investigation into how devise sets current_user and doing something similar for current_profile.
The text was updated successfully, but these errors were encountered:
current_profile is loaded into the session in profiles_controller#load_profile. This is currently only used in creating or editing wall posts but should be happening more ubiquitously. This would allow us to move closer toward the goal of allowing a user to have multiple profiles.
The goal here is to remove calls to
current_user.profiles.first
and replace them with calls tocurrent_profile
. This may take investigation into how devise sets current_user and doing something similar for current_profile.The text was updated successfully, but these errors were encountered: