aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-13 16:47:29 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-13 16:47:29 +0100
commit6c5aaabe8bb0ae1b8025953f6a9c462846bbb873 (patch)
tree93f68b2d3307b8f64187444a769a92cebf135caa /config/routes.rb
parent97130af8dd3f761bbc4cc085def3cd39b80b876e (diff)
parent00e2586a42931567d2ac18350d41dd882e7fcd92 (diff)
downloadhmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.tar.gz
hmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.tar.bz2
hmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.zip
Merge branch 'gallery-links'
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.