]> git.openstreetmap.org Git - rails.git/blobdiff - config.ru
Replace respond_to with render xml format
[rails.git] / config.ru
index 205abe3536eb70da0ef5fc25dbdace5e48e92a97..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.
 
-require ::File.expand_path('../config/environment',  __FILE__)
-run OpenStreetMap::Application
+require_relative "config/environment"
+
+run Rails.application