diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-13 15:10:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-13 15:10:13 +0300 |
commit | 70ce746bd011b101605e6d84f141d1f0c3175831 (patch) | |
tree | 1b76e654f61579b79b34116fa6bb06db2f511d94 /app/models/project.rb | |
parent | 61ca90e0b462bfe69e0b400dfe403bd95281b90f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index e6cc4d228f7..5bface252f1 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -493,6 +493,11 @@ class Project < ApplicationRecord delegate :log_jira_dvcs_integration_usage, :jira_dvcs_server_last_sync_at, :jira_dvcs_cloud_last_sync_at, to: :feature_usage + delegate :maven_package_requests_forwarding, + :pypi_package_requests_forwarding, + :npm_package_requests_forwarding, + to: :namespace + # Validations validates :creator, presence: true, on: :create validates :description, length: { maximum: 2000 }, allow_blank: true |