X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/62a1ec47483803a32c038fb2907afdf45a61b5ee..2c16177174d276335babcca5439cd4e97af62ffa:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 6cf8b261d..08c433788 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -11,7 +11,7 @@ RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org' # Application constants needed for routes.rb - must go before Initializer call -API_VERSION = ENV['OSM_API_VERSION'] || '0.5' +API_VERSION = ENV['OSM_API_VERSION'] || '0.6' # Set application status - possible settings are: # @@ -74,10 +74,3 @@ Rails::Initializer.run do |config| # Make Active Record use UTC-base instead of local time # config.active_record.default_timezone = :utc end - -# This has to be after the above block for some reason (doesnt pull in /lib/osm.rb?) -POTLATCH_PRESETS = Potlatch::Potlatch.get_presets() - -# Use SQL (faster) or Rails (more elegant) for common Potlatch reads -# getway speedup is approximately x2, whichways approximately x7 -POTLATCH_USE_SQL = true