annotate config.ru @ 279:44305fb57a65

Wtf was that.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 03:43:00 +0900
parents 377750dcab80
children d31fe32da7a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 # This file is used by Rack-based servers to start the application.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 require ::File.expand_path('../config/environment', __FILE__)
161
377750dcab80 Allows subdirectory install.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
4 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
377750dcab80 Allows subdirectory install.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
5 run Zeropaste::Application
377750dcab80 Allows subdirectory install.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
6 end