summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-23 10:32:57 -0800
committerelijah <elijah@riseup.net>2013-12-23 10:32:57 -0800
commit0a0fca60b3401d6c2888c98c7ca27b8bcb63d318 (patch)
tree56aa11a2da4d227c163d0e6a48d4ee12f741e07e /config.ru
parent5f00ae48047f32f9068281af65fb349a7e79c22d (diff)
hotfix to make webapp work with rack again.
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.ru b/config.ru
index 7b4c2bd..5c3a2b2 100644
--- a/config.ru
+++ b/config.ru
@@ -1,7 +1,8 @@
# This file is used by Rack-based servers to start the application.
+require ::File.expand_path('../config/environment', __FILE__)
+
require 'http_accept_language'
use HttpAcceptLanguage::Middleware
-require ::File.expand_path('../config/environment', __FILE__)
run LeapWeb::Application