|
|
|
@ -18,9 +18,7 @@ |
|
|
|
|
class Version < ActiveRecord::Base |
|
|
|
|
after_update :update_issues_from_sharing_change |
|
|
|
|
belongs_to :project |
|
|
|
|
has_many :fixed_issues, :class_name => 'Issue', :foreign_key => 'fixed_version_id', :dependent => :nullify |
|
|
|
|
|
|
|
|
|
acts_as_journalized |
|
|
|
|
has_many :fixed_issues, :class_name => 'Issue', :foreign_key => 'fixed_version_id', :dependent => :nullify |
|
|
|
|
|
|
|
|
|
acts_as_customizable |
|
|
|
|
acts_as_attachable :view_permission => :view_files, |
|
|
|
|