X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/25e1145c32c34318edab7a5ce0a059034703ccb0..5d109919ffc5ac092225a38487a37cd4ecb64048:/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 ##