]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Allow the API to be taken offline completely as well as being put into
[rails.git] / app / controllers / amf_controller.rb
index 82dabd2c9b711f7201174fa1c4f1a06d07591d11..ea32acec8ddbcb788c8755df1dec42143156096d 100644 (file)
@@ -2,7 +2,7 @@ class AmfController < ApplicationController
   require 'stringio'
 
   session :off
-  before_filter :check_availability
+  before_filter :check_write_availability
 
   # to log:
   # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")
@@ -175,7 +175,7 @@ POI/tourism
 attraction: tourism=attraction,amenity=,religion=,denomination=
 church: tourism=,amenity=place_of_worship,name=(type name here),religion=christian,denomination=(type denomination here)
 hotel: tourism=hotel,amenity=,religion=,denomination=
-other religious: tourism=,amenity=place_of_worship,name=(type name here),religion=(type religion),denomation=
+other religious: tourism=,amenity=place_of_worship,name=(type name here),religion=(type religion),denomination=
 post box: amenity=post_box,tourism=,name=,religion=,denomination=
 post office: amenity=post_office,tourism=,name=,religion=,denomination=
 pub: tourism=,amenity=pub,name=(type name here),religion=,denomination=