From c08734cdeba60fd0e8da7e0903b0e1e9861c5220 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 4 Jun 2015 17:53:21 -0300 Subject: [PATCH] [Colab] config.ru set to mount at the relative_url_root if set --- config.ru | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.ru b/config.ru index bd83b25..ddef26a 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,8 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run Rails.application +#run Rails.application + +map Mezuro::Application.config.relative_url_root || "/" do + run Rails.application +end -- libgit2 0.21.2