diff options
Diffstat (limited to 'app/models/bulk_imports')
-rw-r--r-- | app/models/bulk_imports/entity.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/bulk_imports/entity.rb b/app/models/bulk_imports/entity.rb index e49c4e09a50..ebca5e90313 100644 --- a/app/models/bulk_imports/entity.rb +++ b/app/models/bulk_imports/entity.rb @@ -152,6 +152,10 @@ class BulkImports::Entity < ApplicationRecord "::#{pluralized_name.capitalize}::UpdateService".constantize end + def full_path + project? ? project&.full_path : group&.full_path + end + private def validate_parent_is_a_group |