Created
August 19, 2015 06:18
-
-
Save JeremyMcCormick/727630dba7c0e6335ac7 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
<div class="header-link"> | |
<% if !user_signed_in? %> | |
<%= link_to "Sign Up", new_user_registration_path %> | |
<% end %> | |
</div> | |
<div class="header-link"> | |
<% if user_signed_in? %> | |
<%= link_to "Sign Out", destroy_user_session_path, :method => :delete %> | |
<% else %> | |
<%= link_to "Sign In", new_user_session_path %> | |
<% end %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment