Add a flag to allow the API to be placed in read-only mode.

This commit is contained in:
Tom Hughes 2007-07-26 17:15:23 +00:00
parent bd07221de5
commit 9dbe1a497a
10 changed files with 56 additions and 14 deletions

View file

@ -67,6 +67,9 @@ end
# inflect.uncountable %w( fish sheep )
# end
# Set to true to put the API in read-only mode
API_READONLY = false
# Include your application configuration below
SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'