summaryrefslogtreecommitdiff
path: root/app/views/projects/variables
diff options
context:
space:
mode:
authorDiego Souza <diegosouza.br@gmail.com>2016-09-08 22:01:49 -0300
committerDiego Souza <diegosouza.br@gmail.com>2016-09-09 15:06:50 -0300
commit43d2cd511c3e068f78fb71387ae0ac31db4926b1 (patch)
treee0d86ec12536dfc53ee3d24b1dbcaa0144f9968c /app/views/projects/variables
parent796bdf1dcb86b5e77fc054208afc632f75518605 (diff)
downloadgitlab-ce-43d2cd511c3e068f78fb71387ae0ac31db4926b1.tar.gz
Sort secret variables by key (fix #20870)
Diffstat (limited to 'app/views/projects/variables')
-rw-r--r--app/views/projects/variables/_table.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/variables/_table.html.haml b/app/views/projects/variables/_table.html.haml
index 6c43f822db4..07cee86ba4c 100644
--- a/app/views/projects/variables/_table.html.haml
+++ b/app/views/projects/variables/_table.html.haml
@@ -9,7 +9,7 @@
%th Value
%th
%tbody
- - @project.variables.each do |variable|
+ - @project.variables.order_key_asc.each do |variable|
- if variable.id?
%tr
%td= variable.key