diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-09-19 12:57:57 +0200 |
---|---|---|
committer | Martin Wortschack <mwortschack@gitlab.com> | 2018-09-19 12:57:57 +0200 |
commit | 26225e778d7e5beb9861756890bf2fddb19af77b (patch) | |
tree | 7717e2637c358627d6bc504b7db75b3d1205ece7 /app/helpers | |
parent | df9cb93091838b6c4661c974436ce9120d9b1983 (diff) | |
download | gitlab-ce-26225e778d7e5beb9861756890bf2fddb19af77b.tar.gz |
Utilize expanded_by_default
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_settings_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb index 3ebf0162cb6..dc393968786 100644 --- a/app/helpers/application_settings_helper.rb +++ b/app/helpers/application_settings_helper.rb @@ -264,4 +264,8 @@ module ApplicationSettingsHelper :web_ide_clientside_preview_enabled ] end + + def expanded_by_default? + Rails.env.test? + end end |