From 13689fd70733bfabac379c6583a23ee02ff4676a Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 1 Mar 2017 15:50:49 +0100 Subject: [PATCH] set spaces disabled by default --- app/views/application/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index 317e39b2a..708f7be69 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -24,7 +24,7 @@ var Fablab = Fablab || {}; Fablab.withoutPlans = ('<%= Rails.application.secrets.fablab_without_plans %>' == 'true'); - Fablab.withoutSpaces = ('<%= Rails.application.secrets.fablab_without_spaces %>' == 'true'); + Fablab.withoutSpaces = ('<%= Rails.application.secrets.fablab_without_spaces %>' != 'false'); Fablab.disqusShortname = "<%= Rails.application.secrets.disqus_shortname %>"; Fablab.defaultHost = "<%= Rails.application.secrets.default_host %>"; Fablab.gaId = "<%= Rails.application.secrets.google_analytics_id %>";