aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 2eb025f..0c10b0d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,7 +5,7 @@ BetaWebApp::Application.routes.draw do
# If you would like to change where this extension is mounted, simply change the :at option to something different.
#
# We ask that you don't use the :as option here, as Refinery relies on it being the default of "refinery"
- mount Refinery::Core::Engine, :at => '/'
+ mount Refinery::Core::Engine, at: ENV['RAILS_RELATIVE_URL_ROOT'] || '/'
# The priority is based upon order of creation:
# first created -> highest priority.