Skip to content

Commit

Permalink
Merge pull request #18 from MichaelEvans/af47b5e22b386f5094813c16770d…
Browse files Browse the repository at this point in the history
…7bbdb4e1ea9f

User :delete instead of :destroy for the logout link
  • Loading branch information
sgrove committed May 8, 2012
2 parents b43bfe7 + af47b5e commit 9e97c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/main/index.html.erb
Expand Up @@ -43,6 +43,6 @@

</div>
<div class="user_menu">
<%= link_to 'logout', destroy_user_session_path, :method => :destroy %>
<%= link_to 'logout', destroy_user_session_path, :method => :delete %>
</div>

0 comments on commit 9e97c9e

Please sign in to comment.