Patch #2780 ยป assigned-clear.patch
| app/models/issue.rb | ||
|---|---|---|
|
end
|
||
|
end
|
||
|
|
||
|
def before_save
|
||
|
def before_save
|
||
|
|
||
|
self.assigned_to = nil if IssueStatus.find(status_id).is_closed
|
||
|
|
||
|
if @current_journal
|
||
|
# attributes changes
|
||
|
(Issue.column_names - %w(id description)).each {|c|
|
||