diff --git a/app/models/project_unit.rb b/app/models/project_unit.rb index 01f6c6670..c3810ff8c 100644 --- a/app/models/project_unit.rb +++ b/app/models/project_unit.rb @@ -15,7 +15,6 @@ class ProjectUnit < ApplicationRecord - default_scope {where(unit_type: ProjectUnit.unit_types.keys)} belongs_to :project enum unit_type: {code: 1, issues: 2, pulls: 3, wiki:4, devops: 5, versions: 6, resources: 7}