From 0be21249d1bc1d40500c263f77523d3bb1dbbfdb Mon Sep 17 00:00:00 2001 From: ckashby Date: Thu, 23 Aug 2018 11:19:10 -0700 Subject: [PATCH] Added Log Out link --- app/views/pages/home.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index a1c368a..79f8e94 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1,4 +1,6 @@

Home

Welcome to our Web App.

-<%= 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 %>