X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/53cc1d2d11d358c171ee5beab55a3d20b79e9dab..3bb07e29ec7c178757f3c94eea84935a554d812d:/app/controllers/api/users_controller.rb diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb index 70ad93f65..5c3a6cb8e 100644 --- a/app/controllers/api/users_controller.rb +++ b/app/controllers/api/users_controller.rb @@ -1,8 +1,7 @@ module Api - class UsersController < ApplicationController + class UsersController < ApiController layout "site", :except => [:api_details] - skip_before_action :verify_authenticity_token before_action :disable_terms_redirect, :only => [:api_details] before_action :authorize, :only => [:api_details, :api_gpx_files] before_action :api_deny_access_handler