diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2019-04-29 15:01:28 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-04-29 15:01:28 +0000 |
commit | 03f136fcd9768e020a43309cce68f07e12bc7174 (patch) | |
tree | 54c5028bdb4b2f7ed6bb225076dd2033b504d90c /app/views/groups/edit.html.haml | |
parent | 72c179ef26284c4322bf84a7ed40eae11f40b9c4 (diff) | |
download | gitlab-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.haml | 2 |
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') } |