diff options
Diffstat (limited to 'app/services/issuable/bulk_update_service.rb')
-rw-r--r-- | app/services/issuable/bulk_update_service.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/services/issuable/bulk_update_service.rb b/app/services/issuable/bulk_update_service.rb index 238f5ebddae..30444fa3938 100644 --- a/app/services/issuable/bulk_update_service.rb +++ b/app/services/issuable/bulk_update_service.rb @@ -68,9 +68,10 @@ module Issuable end def find_issuables(parent, model_class, ids) - if parent.is_a?(Project) + case parent + when Project projects = parent - elsif parent.is_a?(Group) + when Group projects = parent.all_projects else return |