comparison config.ru @ 161:377750dcab80

Allows subdirectory install.
author Edho Arief <edho@myconan.net>
date Wed, 28 Nov 2012 09:49:08 -0800
parents 4aa8194a1733
children d31fe32da7a0
comparison
equal deleted inserted replaced
160:3f02431cb17d 161:377750dcab80
1 # This file is used by Rack-based servers to start the application. 1 # This file is used by Rack-based servers to start the application.
2 2
3 require ::File.expand_path('../config/environment', __FILE__) 3 require ::File.expand_path('../config/environment', __FILE__)
4 run Zeropaste::Application 4 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
5 run Zeropaste::Application
6 end