summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 17:58:13 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 17:58:13 -0500
commitd2b1f26cf41c6e1f887069c6c31bf3677416b993 (patch)
tree6fabdb8627a3ea54794f0c24ec3186a7e45105c0 /app/views/layouts
parentd37bfd1e96f01d6f0fae275924e89dfe17a94938 (diff)
sign out edit 2
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index e13a8df..9cc30bc 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("/signout"), method: "delete", :class => "signout", :role => "button" %>
+ <%= link_to "Sign out", "/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"