Changes to support deploy staging

This commit is contained in:
Ralf Teusner
2016-08-31 15:54:19 +02:00
parent 18d54f4293
commit a9b273a902
3 changed files with 93 additions and 1 deletions

View File

@ -1,4 +1,7 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
run Rails.application
map CodeOcean::Application.config.relative_url_root || '/' do
run Rails.application
end