annotate config.ru @ 298:ff27821f9272

A test! Can you imagine that?!
author edogawaconan <me@myconan.net>
date Wed, 12 Feb 2014 15:10:42 +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