Project

General

Profile

Revision 720671b8

Added by Ondřej Pražák over 6 years ago

Fixes #13288 - Fix for pattrenfly UI

View differences:

app/models/foreman_pipeline/job.rb
14 14
    belongs_to :environment, :class_name => 'Katello::KTEnvironment'
15 15

  
16 16
    has_many :job_jenkins_projects, :dependent => :destroy
17
    has_many :jenkins_projects, :through => :job_jenkins_projects, :class_name => 'ForemanPipeline::JenkinsProject', :dependent => :restrict
18

  
17
    has_many :jenkins_projects, :through => :job_jenkins_projects, :class_name => 'ForemanPipeline::JenkinsProject'
19 18
    has_many :content_view_repositories, :class_name=> 'Katello::ContentViewRepository',
20 19
     :primary_key => :content_view_id, :foreign_key => :content_view_id
21 20
    has_many :repositories, :through => :content_view_repositories

Also available in: Unified diff