summaryrefslogtreecommitdiff
path: root/app/views/ci/group_variables/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/group_variables/_index.html.haml')
-rw-r--r--app/views/ci/group_variables/_index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/ci/group_variables/_index.html.haml b/app/views/ci/group_variables/_index.html.haml
index eb49a9a0261..c8c970f3c2f 100644
--- a/app/views/ci/group_variables/_index.html.haml
+++ b/app/views/ci/group_variables/_index.html.haml
@@ -1,4 +1,4 @@
-- variables = @project.group.self_and_ancestors.map(&:variables).flatten
+- variables = @project.group.self_and_ancestors.flat_map(&:variables)
.ci-variable-table
%table.gl-table.gl-w-full.gl-table-layout-fixed