mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Merge pull request #499 from biosistemika/lm-test-deface
Add Deface checking of environmental variables
This commit is contained in:
commit
634336e1a4
3 changed files with 9 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue