annotate config.ru @ 220:183e8560a337

Update prettify to 2013/03/04.
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 12:05:08 +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