Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

display welcome message with username after login #10

Open
pixeltocode opened this Issue · 1 comment

1 participant

@pixeltocode

hi...is it possible to display a welcome message with the username after login, for example "welcome back John!" ?

thanks

@pixeltocode

in the controller flash[:message] = "welcome back ", current_user.login
and in the view <%= flash[:message] %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.