Permalink
Browse files

Merge pull request #13 from willrax/logout_fix

User logout redirect
  • Loading branch information...
2 parents d398089 + dfce969 commit f9242f04265f2be16b01af7c37bd8e0ddac1dc89 @kevzettler kevzettler committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/main/index.html.erb
View
2 app/views/main/index.html.erb
@@ -43,6 +43,6 @@
</div>
<div class="user_menu">
- <a href="<%= destroy_user_session_path %>">logout</a>
+ <%= link_to 'logout', destroy_user_session_path, :method => :destroy %>
</div>

0 comments on commit f9242f0

Please sign in to comment.