summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 20:12:18 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 20:12:18 -0500
commita4b40b899bca6396eea63672590282c7011f386c (patch)
treeeb95df75a3706201d1036f84b9a544dc7feb1a98 /app/views/layouts/application.html.erb
parent432c0a5745d01089b28208569a2a2fd901970ce2 (diff)
undo my kludgery from when JS was broken
Diffstat (limited to 'app/views/layouts/application.html.erb')
-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 0747b5d..8c54c64 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? %>
<%= link_to current_user.user_name, current_user, :class => "user" %>
- <%= render "common/signout" %>
+ <%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout" %>
<% else %>
<%= link_to "Log in", new_session_path, :class => "signin" %>
<%= link_to "Sign up", new_user_path, :class => "signup" %>