X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c9fa49c99485b0ba1242c6d13e12df9ab1532987..1c5642637a87ab250d2a1204cc83a578e7aa29f1:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index b958021e8..cac531577 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,5 @@ -# Load the rails application -require File.expand_path('../application', __FILE__) +# Load the Rails application. +require_relative "application" -# Initialize the rails application -OpenStreetMap::Application.initialize! +# Initialize the Rails application. +Rails.application.initialize!