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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-12 03:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-12 03:09:00 +0300
commitb133cb2468b412683dbc5f19492d98b2ffa47d09 (patch)
treed01f5db9e1a7576fccadd2ea5a2a7c9ea8b25d99 /app/models
parent0e9eea40b62fcae67b2bd885dbedd7525fbca3c7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/pipeline_schedule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline_schedule.rb b/app/models/ci/pipeline_schedule.rb
index 9a1445e624c..f5785000062 100644
--- a/app/models/ci/pipeline_schedule.rb
+++ b/app/models/ci/pipeline_schedule.rb
@@ -23,7 +23,7 @@ module Ci
scope :active, -> { where(active: true) }
scope :inactive, -> { where(active: false) }
- scope :preloaded, -> { preload(:owner, :project) }
+ scope :preloaded, -> { preload(:owner, project: [:route]) }
accepts_nested_attributes_for :variables, allow_destroy: true