X-Git-Url: https://git.mdrn.pl/redakcja_redmine.git/blobdiff_plain/378fe7c80dbc369bceb24e57e2cd81d3bd690ee9..9a45acb7706ccfa6d4c2377d6020eca842a24dd1:/app/models/publication.rb?ds=sidebyside diff --git a/app/models/publication.rb b/app/models/publication.rb index b0e567d..1544402 100644 --- a/app/models/publication.rb +++ b/app/models/publication.rb @@ -1,3 +1,4 @@ class Publication < ActiveRecord::Base has_many :issues, :through => :issuepublications + belongs_to :repository end