Don't erase old publcations, so that the relations don't disappear.
[redakcja_redmine.git] / app / models / publication.rb
index b0e567d..1544402 100644 (file)
@@ -1,3 +1,4 @@
 class Publication < ActiveRecord::Base
   has_many :issues, :through => :issuepublications
 class Publication < ActiveRecord::Base
   has_many :issues, :through => :issuepublications
+  belongs_to :repository
 end
 end