]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Merge 14394:14533 from trunk.
[rails.git] / app / controllers / api_controller.rb
index f0ba325682c567f400c94d6bd0d398f1f9b9f804..ebf729afc322812002231adeeefe6e486a756367 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