X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2e4974b1f5600a3a446d5b0844a8d63d9fb5fbb3..39d26aa0f2cb893f19282657b2fddd2a494f2263:/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