summaryrefslogtreecommitdiff
path: root/app/views/groups/edit.html.haml
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-04-29 15:01:28 +0000
committerFatih Acet <acetfatih@gmail.com>2019-04-29 15:01:28 +0000
commit03f136fcd9768e020a43309cce68f07e12bc7174 (patch)
tree54c5028bdb4b2f7ed6bb225076dd2033b504d90c /app/views/groups/edit.html.haml
parent72c179ef26284c4322bf84a7ed40eae11f40b9c4 (diff)
downloadgitlab-ce-03f136fcd9768e020a43309cce68f07e12bc7174.tar.gz
Prefer usage of helper `expanded_by_default?`
Stop using `Rails.env.test?` in views.
Diffstat (limited to 'app/views/groups/edit.html.haml')
-rw-r--r--app/views/groups/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index 2f635757902..0c8f86c2822 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -1,6 +1,6 @@
- breadcrumb_title "General Settings"
- @content_class = "limit-container-width" unless fluid_layout
-- expanded = Rails.env.test?
+- expanded = expanded_by_default?
%section.settings.gs-general.no-animate#js-general-settings{ class: ('expanded') }