-
-
Save lmansur/a3120685e28019167297f6755cd94419 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def user_params | |
user = UserFromTempUserSession.new(session[:temp_user]) | |
if session[:temp_user] | |
params[:user][:uid] = user.uid | |
params[:user][:provider] = user.provider | |
params[:user][:remote_avatar_url] = user.remote_avatar_url | |
params[:user][:platform] = user.platform | |
end | |
params[:user] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment