Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/namespaces/project_namespace.rb')
-rw-r--r--app/models/namespaces/project_namespace.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/namespaces/project_namespace.rb b/app/models/namespaces/project_namespace.rb
index cf2612b7f33..bf23fc21124 100644
--- a/app/models/namespaces/project_namespace.rb
+++ b/app/models/namespaces/project_namespace.rb
@@ -11,7 +11,8 @@ module Namespaces
alias_attribute :namespace_id, :parent_id
has_one :project, foreign_key: :project_namespace_id, inverse_of: :project_namespace
- delegate :execute_hooks, :execute_integrations, to: :project, allow_nil: true
+ delegate :execute_hooks, :execute_integrations, :group, to: :project, allow_nil: true
+ delegate :external_references_supported?, :default_issues_tracker?, to: :project
def self.sti_name
'Project'