Skip to content

Commit

Permalink
Added Log Out link
Browse files Browse the repository at this point in the history
  • Loading branch information
ckashby committed Aug 23, 2018
1 parent a67157c commit 0be2124
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/pages/home.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<h1>Home</h1>
<p>Welcome to our Web App.</p>

<%= link_to "Sign Up", new_user_registration_path %> | <%= link_to "Sign In", new_user_session_path %>
<%= link_to "Sign Up", new_user_registration_path %> |
<%= link_to "Sign In", new_user_session_path %> |
<%= link_to "Log Out", destroy_user_session_path, method: :delete %>

0 comments on commit 0be2124

Please sign in to comment.