From 5a35ab96776d6c969fec68fad7ab27df772f2751 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Thu, 23 Feb 2017 09:46:04 +0100 Subject: [PATCH] Test Deface change --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index a2069257b..a3a7913a1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -98,6 +98,9 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + # Disable deface if neccesary + config.deface.enabled = ENV['DEFACE_ENABLED'] == 'true' + # Enable first-time tutorial for users signing in the sciNote for # the first time. config.x.enable_tutorial = ENV['ENABLE_TUTORIAL'] != 'false'