annotate config.ru @ 437:d31fe32da7a0

Finish updating to rails 5
author nanaya <me@myconan.net>
date Sat, 02 Jul 2016 17:04:25 +0900
parents 377750dcab80
children 88fd5722fcb3
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
437
d31fe32da7a0 Finish updating to rails 5
nanaya <me@myconan.net>
parents: 161
diff changeset
3 require_relative "config/environment"
d31fe32da7a0 Finish updating to rails 5
nanaya <me@myconan.net>
parents: 161
diff changeset
4
161
377750dcab80 Allows subdirectory install.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
5 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
437
d31fe32da7a0 Finish updating to rails 5
nanaya <me@myconan.net>
parents: 161
diff changeset
6 run Rails.application
161
377750dcab80 Allows subdirectory install.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
7 end