]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
preliminary commit 0.5 API with relations / untested after entity-relation rename...
[rails.git] / config / environment.rb
index 3c2516ec7e8a03655ae7222b52bc1e42fabc803a..570cb04b5f6d365877b540892dba6b707267e00a 100644 (file)
@@ -14,7 +14,7 @@ RAILS_GEM_VERSION = '1.2.3'
 require File.join(File.dirname(__FILE__), 'boot')
 
 # Application constants needed for routes.rb - must go before Initializer call
-API_VERSION = ENV['OSM_API_VERSION'] || '0.4'
+API_VERSION = ENV['OSM_API_VERSION'] || '0.5'
 
 # Custom logger class to format messages sensibly
 class OSMLogger < Logger
@@ -86,18 +86,6 @@ ActionMailer::Base.smtp_settings = {
   :domain  => 'localhost',
 } 
 
-
-# HTTP CODES
-
-# 200's
-
-HTTP_OK = 200
-
-# 400's
-
-HTTP_PRECONDITION_FAILED = 412
-HTTP_EXPECTATION_FAILED = 417
-
 #Taming FCGI
 #
 COUNT = 0