diff --git a/app/models/project.rb b/app/models/project.rb index f0266549b..30cd365d8 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Project < ApplicationRecord include ArchivableModel include SearchableModel @@ -7,7 +9,7 @@ class Project < ApplicationRecord include PermissionExtends include Assignable - ID_PREFIX = 'PR'.freeze + ID_PREFIX = 'PR' include PrefixedIdModel enum visibility: { hidden: 0, visible: 1 }