]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Fix database check in browse controller.
[rails.git] / app / controllers / api_controller.rb
index 7a0a45fc8a333f346499ba8c4764c91a1a6950d6..029e4c8a6544353845213575e57243c49e67f5b4 100644 (file)
@@ -1,7 +1,7 @@
 class ApiController < ApplicationController
 
   session :off
-  before_filter :check_read_availability, :except => [:capabilities]
+  before_filter :check_api_readable, :except => [:capabilities]
   after_filter :compress_output
 
   # Help methods for checking boundary sanity and area size