Created
November 23, 2011 22:47
-
-
Save dcaliri/1390165 to your computer and use it in GitHub Desktop.
HAML ftw
This file contains 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
#user_nav | |
- if user_signed_in? | |
Signed in as #{current_user.email}. Not you? | |
\#{link_to "Sign out", destroy_user_session_path} | |
- else | |
= link_to "Sign up", new_user_registration_path | |
or | |
\#{link_to "Sign in", new_user_session_path} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment