annotate config.ru @ 210:d59731c3c7bf

Add support for is_private flag
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 02:40:13 +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