Files
old-ribica/back-office/config.ru

9 lines
250 B
Plaintext
Raw Normal View History

2015-01-14 07:29:44 +01:00
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
2015-02-16 21:36:14 +01:00
if Rails.env.production?
run Rack::URLMap.new("/backoffice" => Rails::application)
else
run Rails.application
end