Merge pull request #499 from biosistemika/lm-test-deface

Add Deface checking of environmental variables
This commit is contained in:
Luka Murn 2017-02-27 13:17:46 +01:00 committed by GitHub
commit 634336e1a4
3 changed files with 9 additions and 0 deletions

View file

@ -65,6 +65,9 @@ Rails.application.configure do
# Raises error for missing translations
config.action_view.raise_on_missing_translations = true
# Enable/disable Deface
config.deface.enabled = ENV['DEFACE_ENABLED'] != 'false'
# Enable first-time tutorial for users signing in the sciNote for
# the first time.
config.x.enable_tutorial = ENV['ENABLE_TUTORIAL'] == 'true'

View file

@ -98,6 +98,9 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
# Enable/disable Deface
config.deface.enabled = ENV['DEFACE_ENABLED'] != 'false'
# Enable first-time tutorial for users signing in the sciNote for
# the first time.
config.x.enable_tutorial = ENV['ENABLE_TUTORIAL'] != 'false'

View file

@ -65,6 +65,9 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
# Enable/disable Deface
config.deface.enabled = ENV['DEFACE_ENABLED'] != 'false'
# Enable first-time tutorial for users signing in the sciNote for
# the first time.
config.x.enable_tutorial = false