summaryrefslogtreecommitdiff
path: root/app/models/namespaces/project_namespace.rb
blob: 22ec550dee2d1e5b1a384c3006f7aae786eafa6d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Namespaces
  class ProjectNamespace < Namespace
    has_one :project, foreign_key: :project_namespace_id, inverse_of: :project_namespace

    def self.sti_name
      'Project'
    end
  end
end