diff options
Diffstat (limited to 'app/models/namespaces/project_namespace.rb')
-rw-r--r-- | app/models/namespaces/project_namespace.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/namespaces/project_namespace.rb b/app/models/namespaces/project_namespace.rb index 288c5c0d2d4..573944d8f5c 100644 --- a/app/models/namespaces/project_namespace.rb +++ b/app/models/namespaces/project_namespace.rb @@ -2,6 +2,8 @@ module Namespaces class ProjectNamespace < Namespace + self.allow_legacy_sti_class = true + # These aliases are added to make it easier to sync parent/parent_id attribute with # project.namespace/project.namespace_id attribute. # |