X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/53cc1d2d11d358c171ee5beab55a3d20b79e9dab..3bb07e29ec7c178757f3c94eea84935a554d812d:/app/controllers/api/user_preferences_controller.rb diff --git a/app/controllers/api/user_preferences_controller.rb b/app/controllers/api/user_preferences_controller.rb index 82f6c6a4d..39e0dff30 100644 --- a/app/controllers/api/user_preferences_controller.rb +++ b/app/controllers/api/user_preferences_controller.rb @@ -1,7 +1,6 @@ # Update and read user preferences, which are arbitrayr key/val pairs module Api - class UserPreferencesController < ApplicationController - skip_before_action :verify_authenticity_token + class UserPreferencesController < ApiController before_action :authorize authorize_resource