]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/users_controller.rb
erblint: Add or remove curly braces around hash parameters as required
[rails.git] / app / controllers / api / users_controller.rb
index 70ad93f65e4862c33f73bd40d8a52f302f7317c6..f24d50cf101d2525c8054a642cf6b8e5d68df858 100644 (file)
@@ -1,11 +1,9 @@
 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
 
     authorize_resource