]> git.openstreetmap.org Git - rails.git/commitdiff
Don't require terms to be agreed when logging out
authorTom Hughes <tom@compton.nu>
Mon, 18 Apr 2011 08:04:57 +0000 (09:04 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 18 Apr 2011 08:04:57 +0000 (09:04 +0100)
app/controllers/user_controller.rb

index f37d4f394336e38228a18ed122263e1dae0d83cf..de43fee144428780f1d27f36e669347d8b96a218 100644 (file)
@@ -1,7 +1,7 @@
 class UserController < ApplicationController
   layout :choose_layout
 
-  before_filter :disable_terms_redirect, :only => [:terms, :save]
+  before_filter :disable_terms_redirect, :only => [:terms, :save, :logout]
   before_filter :authorize, :only => [:api_details, :api_gpx_files]
   before_filter :authorize_web, :except => [:api_details, :api_gpx_files]
   before_filter :set_locale, :except => [:api_details, :api_gpx_files]