Permalink
Browse files

Log out with delete (!)

  • Loading branch information...
1 parent 091301f commit e97df5fa357c9c7103ad0351f62cd78f1ad0078a Joe Peck committed Jan 18, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/views/layouts/_navigation.html.erb
  2. +1 −1 config/initializers/devise.rb
View
2 app/views/layouts/_navigation.html.erb
@@ -1,4 +1,4 @@
-<%= link_to "Events", root_path, :class => 'brand' %>
+<%= link_to "TempTD", root_path, :class => 'brand' %>
<ul class="nav">
<% if user_signed_in? %>
View
2 config/initializers/devise.rb
@@ -203,7 +203,7 @@
# config.navigational_formats = ["*/*", :html]
# The default HTTP method used to sign out a resource. Default is :delete.
- config.sign_out_via = :get
+ config.sign_out_via = :delete
# ==> OmniAuth
# Add a new OmniAuth provider. Check the wiki for more information on setting

0 comments on commit e97df5f

Please sign in to comment.