]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/user_blocks_controller.rb
Don't update ends_at when editing inactive blocks
[rails.git] / app / controllers / api / user_blocks_controller.rb
index 19fd4b400b043c8736d29cab5fb236e37240856f..6c285e14a253d50e45daa31ef57134071560a708 100644 (file)
@@ -1,7 +1,5 @@
 module Api
   class UserBlocksController < ApiController
-    before_action :check_api_readable
-
     authorize_resource
 
     around_action :api_call_handle_error, :api_call_timeout