]> git.openstreetmap.org Git - rails.git/commitdiff
Allow user details to be fetched without agreeing terms
authorTom Hughes <tom@compton.nu>
Mon, 18 Apr 2011 21:23:48 +0000 (22:23 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 18 Apr 2011 21:23:48 +0000 (22:23 +0100)
app/controllers/user_controller.rb

index de43fee144428780f1d27f36e669347d8b96a218..fcf6526eb0eb1db8c91f6c4a0dd7ea2706679585 100644 (file)
@@ -1,7 +1,7 @@
 class UserController < ApplicationController
   layout :choose_layout
 
-  before_filter :disable_terms_redirect, :only => [:terms, :save, :logout]
+  before_filter :disable_terms_redirect, :only => [:terms, :save, :logout, :api_details]
   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]