comparison 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
comparison
equal deleted inserted replaced
436:72557a5310d9 437:d31fe32da7a0
1 # This file is used by Rack-based servers to start the application. 1 # This file is used by Rack-based servers to start the application.
2 2
3 require ::File.expand_path('../config/environment', __FILE__) 3 require_relative "config/environment"
4
4 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do 5 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
5 run Zeropaste::Application 6 run Rails.application
6 end 7 end