diff 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
line wrap: on
line diff
--- a/config.ru	Mon Jun 13 15:07:38 2016 +0900
+++ b/config.ru	Sat Jul 02 17:04:25 2016 +0900
@@ -1,6 +1,7 @@
 # This file is used by Rack-based servers to start the application.
 
-require ::File.expand_path('../config/environment',  __FILE__)
+require_relative "config/environment"
+
 map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
-  run Zeropaste::Application
+  run Rails.application
 end