annotate config.ru @ 344:49ae9d1f4f2c

Use coffeescript.
author edogawaconan <me@myconan.net>
date Thu, 03 Jul 2014 14:50:18 +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