Created
January 20, 2012 22:06
-
-
Save coderforhire/1649877 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
<li> | |
<%= if user_signed_in? | |
link_to "Sign Out", destroy_user_session_path, :method => :delete | |
else | |
link_to "Sign In", user_session_path | |
end %> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment