Commit 7f0fe8e2060923bad9fef0050af033874e24886b
Committed by
Eduardo Silva Araújo
1 parent
e34a73c7
Exists in
colab
[Colab] Add relative_url_root to production env
Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
config/environments/production.rb
@@ -105,4 +105,7 @@ Rails.application.configure do | @@ -105,4 +105,7 @@ Rails.application.configure do | ||
105 | # Google Analytics | 105 | # Google Analytics |
106 | GA.tracker = ENV['GA_TRACKER'] | 106 | GA.tracker = ENV['GA_TRACKER'] |
107 | GA.script_source = :doubleclick | 107 | GA.script_source = :doubleclick |
108 | + | ||
109 | + # Responds on a subdirectory | ||
110 | + config.relative_url_root = '/mezuro' | ||
108 | end | 111 | end |