summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorMiranda Fluharty <mfluharty@gitlab.com>2019-03-27 19:13:55 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-03-27 19:13:55 +0000
commitfc8f4b62f887abbc02e2c21b7275f53b51a5bad2 (patch)
tree3644afa753f4fe855302342bc7f2e56bf17f80e3 /app/controllers/groups
parent95325c6ab7343f5c241fe63b3e0e782372e93245 (diff)
downloadgitlab-ce-fc8f4b62f887abbc02e2c21b7275f53b51a5bad2.tar.gz
Scaffold UI elements for minimal version
Add a masked switch to variable rows Copy some behavior from the protected switch
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/variables_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/variables_controller.rb b/app/controllers/groups/variables_controller.rb
index 4f641de0357..b44e3b0fff4 100644
--- a/app/controllers/groups/variables_controller.rb
+++ b/app/controllers/groups/variables_controller.rb
@@ -41,7 +41,7 @@ module Groups
end
def variable_params_attributes
- %i[id key secret_value protected _destroy]
+ %i[id key secret_value protected masked _destroy]
end
def authorize_admin_build!