]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Discard fragments from wikimedia_commons tag values
[rails.git] / app / controllers / api_controller.rb
index edafac7ccdc44f3f75f07e0f3a082909a793bfea..ff7f694c5eb63bac0ac23c7e00ba454630f7ac69 100644 (file)
@@ -1,6 +1,8 @@
 class ApiController < ApplicationController
   skip_before_action :verify_authenticity_token
 
+  before_action :check_api_readable
+
   private
 
   ##