]> git.openstreetmap.org Git - rails.git/blobdiff - config.ru
Disable host validation in development mode
[rails.git] / config.ru
index 193e5fed8d68ef689293fa249e2d7c9d1608176f..441e6ff0c3cd574a7b0bd107f66a3f128bf413c7 100644 (file)
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,5 @@
 # This file is used by Rack-based servers to start the application.
 
 # This file is used by Rack-based servers to start the application.
 
-require ::File.expand_path("../config/environment", __FILE__)
+require_relative "config/environment"
+
 run Rails.application
 run Rails.application