summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-04 01:28:55 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-07 15:35:12 +0900
commit2dd9a9af2f0033be8fb627e2113710505874008b (patch)
tree8ef9ea4358000ea524ce8c2ec74a1fdb6529edcf /app/controllers/groups
parentd228662fb7cfdfaea749e4b733197e3d3a9ac23b (diff)
downloadgitlab-ce-2dd9a9af2f0033be8fb627e2113710505874008b.tar.gz
Fix variables_controller.rb and format
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/variables_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/groups/variables_controller.rb b/app/controllers/groups/variables_controller.rb
index 6fba9dab2a7..beafea7b451 100644
--- a/app/controllers/groups/variables_controller.rb
+++ b/app/controllers/groups/variables_controller.rb
@@ -46,8 +46,7 @@ module Groups
end
def group_params
- params.require(:variable)
- .permit([:key, :value, :protected])
+ params.require(:variable).permit([:key, :value, :protected])
end
def variable