summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2012-09-16 20:08:57 +0300
committerAlex Denisov <1101.debian@gmail.com>2012-09-16 20:08:57 +0300
commitb896880eb46c2b8167e2252d3656b5e38e35f6ec (patch)
tree0255ee4ee87e92d86c987741be165cfd7dcf58f7 /lib/api/helpers.rb
parent549c4c2202307608773a10d8ce9a7dc978537de4 (diff)
downloadgitlab-ce-b896880eb46c2b8167e2252d3656b5e38e35f6ec.tar.gz
Method name changed
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index d0fc8c434a2..9a08b995800 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -28,7 +28,7 @@ module Gitlab
end
end
- def existed_attributes(keys)
+ def attributes_for_keys(keys)
attrs = {}
keys.each do |key|
attrs[key] = params[key] if params[key].present?