]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/user_preferences_controller.rb
Move check_api_readable to api_controller
[rails.git] / app / controllers / api / user_preferences_controller.rb
index db779a35e0752e77dd9794bd211409f5672d01cc..cb852ce881aa10909a267e776aa884c406e388b4 100644 (file)
@@ -1,7 +1,6 @@
 # Update and read user preferences, which are arbitrary key/val pairs
 module Api
   class UserPreferencesController < ApiController
-    before_action :check_api_readable
     before_action :check_api_writable, :only => [:update_all, :update, :destroy]
     before_action :authorize