X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..70d6880e10881dfd4b68f51cf16609a9f8aaff24:/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!