X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4b33f145c7966710e537531261e04d2596159049..58e0903a3f0e1e105a11638b18b588e9eb6a8b9e:/redmine/redmine_publications/app/models/publication.rb diff --git a/redmine/redmine_publications/app/models/publication.rb b/redmine/redmine_publications/app/models/publication.rb index b0e567d8..15444023 100644 --- a/redmine/redmine_publications/app/models/publication.rb +++ b/redmine/redmine_publications/app/models/publication.rb @@ -1,3 +1,4 @@ class Publication < ActiveRecord::Base has_many :issues, :through => :issuepublications + belongs_to :repository end