extracted require statement from environment.rb to intializers/requires.rb
This commit is contained in:
parent
1c6ac719e6
commit
726836f31e
2 changed files with 2 additions and 4 deletions
|
@ -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'
|
||||
|
|
1
config/initializers/requires.rb
Normal file
1
config/initializers/requires.rb
Normal file
|
@ -0,0 +1 @@
|
|||
require 'composite_primary_keys'
|
Loading…
Add table
Add a link
Reference in a new issue