extracted require statement from environment.rb to intializers/requires.rb

This commit is contained in:
Xin Zheng 2008-01-22 16:50:14 +00:00
parent 1c6ac719e6
commit 726836f31e
2 changed files with 2 additions and 4 deletions

View file

@ -5,7 +5,7 @@
ENV['RAILS_ENV'] ||= 'production'
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.0.1' unless defined? RAILS_GEM_VERSION
RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
# Set the server URL
SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'
@ -67,6 +67,3 @@ Rails::Initializer.run do |config|
# Make Active Record use UTC-base instead of local time
# config.active_record.default_timezone = :utc
end
require 'composite_primary_keys'

View file

@ -0,0 +1 @@
require 'composite_primary_keys'