X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a5c9a8052489c04a64856c2f0579647a1637326..d57dd1f4da4d4605f534607b69944e3c977e4db5:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index edafac7cc..ff7f694c5 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -1,6 +1,8 @@ class ApiController < ApplicationController skip_before_action :verify_authenticity_token + before_action :check_api_readable + private ##