This commit is contained in:
huang 2015-08-25 13:52:20 +08:00
parent 90c199f15a
commit a83fc1c8d8
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class Issue < ActiveRecord::Base
# 更新缺陷
def act_as_forge_message_update
unless self.author_id == self.assigned_to_id
self.forge_messages << ForgeMessage.new(:user_id => self.assigned_to_id, :project_id => self.project_id, :viewed => false, :update=> true)
self.forge_messages << ForgeMessage.new(:user_id => self.assigned_to_id, :project_id => self.project_id, :viewed => false)
end
end