X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/55d8bc5256606d3922116cc5ae64330378533301..efc4c6f85de12eab4fc5c7c621d73f779570d958:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 48af192aa..d3c68ca69 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -47,7 +47,7 @@ Rails::Initializer.run do |config| # Use SQL instead of Active Record's schema dumper when creating the test database. # This is necessary if your schema can't be completely dumped by the schema dumper, # like if you have constraints or database-specific column types - # config.active_record.schema_format = :sql + config.active_record.schema_format = :sql # Activate observers that should always be running # config.active_record.observers = :cacher, :garbage_collector @@ -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'