summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2018-10-30 08:49:26 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-10-30 08:49:26 +0000
commit14fc739c94907255f70fe5032059bcdc4aba1e34 (patch)
tree3098367838e91c7a70636c9c50c656fb458b58d2 /app/controllers/groups
parentc71c1f03c78cb3362bbe2baaf49a8e3573c96d1a (diff)
downloadgitlab-ce-14fc739c94907255f70fe5032059bcdc4aba1e34.tar.gz
Renaming Secret Variables in the codebase
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/settings/ci_cd_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/groups/settings/ci_cd_controller.rb b/app/controllers/groups/settings/ci_cd_controller.rb
index 93f3eb2be6d..c1dcc463de7 100644
--- a/app/controllers/groups/settings/ci_cd_controller.rb
+++ b/app/controllers/groups/settings/ci_cd_controller.rb
@@ -7,7 +7,7 @@ module Groups
before_action :authorize_admin_pipeline!
def show
- define_secret_variables
+ define_ci_variables
end
def reset_registration_token
@@ -19,7 +19,7 @@ module Groups
private
- def define_secret_variables
+ def define_ci_variables
@variable = Ci::GroupVariable.new(group: group)
.present(current_user: current_user)
@variables = group.variables.order_key_asc