]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Accept coordinates with a slash in search
[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
 
   ##