Project

General

Profile

Revision 1cd46bac

Added by Ondřej Pražák about 8 years ago

minor improvements

View differences:

app/models/integration/jenkins_user.rb
6 6
    include Glue::ElasticSearch::JenkinsUser
7 7
    include Integration::Authorization::JenkinsUser
8 8

  
9
    has_many :jobs, :class_name => "Integration::Job"
9
    has_many :jobs, :class_name => "Integration::Job", :dependent => :nullify
10 10
    belongs_to :organization
11 11
    belongs_to :jenkins_instance, :class_name => "Integration::JenkinsInstance"
12
    belongs_to :owner, :class_name => "User"    
12
    belongs_to :owner, :class_name => "::User"    
13 13
  end
14 14
end

Also available in: Unified diff