diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:55:49 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:55:49 -0500 |
commit | bc42a479891d491aecd5477cfeedd986e9738438 (patch) | |
tree | 45f20096ee620e73b19520613ecb6c4ef91bcb52 /app/views | |
parent | 6b27e11f1613967d2b97b0eead6cf06263e6140b (diff) |
sign out link edited
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 093f31a..e13a8df 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,7 +20,7 @@ <div id="log-buttons"> <% if signed_in? %> <%= current_user.user_name.upcase %> - <%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout", :role => "button" %> + <%= link_to "Sign out", session_path("/signout"), method: "delete", :class => "signout", :role => "button" %> <% else %> <%= link_to "Log in", new_session_path, :class => "signin", :role => "button" %> <%= link_to "Sign up", new_user_path, :class => "signup", :role => "button" |