summaryrefslogtreecommitdiff
path: root/app/services/issues
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-07-06 16:26:59 +0300
committerValery Sizov <valery@gitlab.com>2016-07-06 20:58:43 +0300
commit3baed8cb6ddf9d46b653f17135cbffc8e662cedd (patch)
tree836cdccc6609d1d9d3a8ba52c76dadc6267fd738 /app/services/issues
parentcfd5870b62e9d76e564ffc64db1d1281b4a363bb (diff)
downloadgitlab-ce-3baed8cb6ddf9d46b653f17135cbffc8e662cedd.tar.gz
Services: code style fixes, minor refactoringservices_refactoring1
Diffstat (limited to 'app/services/issues')
-rw-r--r--app/services/issues/bulk_update_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/issues/bulk_update_service.rb b/app/services/issues/bulk_update_service.rb
index 15825b81685..cd08c3a0cb9 100644
--- a/app/services/issues/bulk_update_service.rb
+++ b/app/services/issues/bulk_update_service.rb
@@ -9,6 +9,7 @@ module Issues
end
issues = Issue.where(id: issues_ids)
+
issues.each do |issue|
next unless can?(current_user, :update_issue, issue)