diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-21 12:32:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-21 12:32:47 +0000 |
commit | bb1edda6e803c6a91fbcb7941fd619eb55be8d32 (patch) | |
tree | 0b888b4219505b54c9c01d181dc6f11ed945ff3a /app/models/journal.rb | |
parent | ba8a36a39b0aeafd45aeff2a71d5cf689cabaea1 (diff) | |
download | redmine-bb1edda6e803c6a91fbcb7941fd619eb55be8d32.tar.gz redmine-bb1edda6e803c6a91fbcb7941fd619eb55be8d32.zip |
Display issue notes in the activity view (#1509).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1567 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r-- | app/models/journal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb index ac141f68c..67a3eee3b 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -33,7 +33,7 @@ class Journal < ActiveRecord::Base acts_as_event :title => Proc.new {|o| status = ((s = o.new_status) ? " (#{s})" : nil); "#{o.issue.tracker} ##{o.issue.id}#{status}: #{o.issue.subject}" }, :description => :notes, :author => :user, - :type => Proc.new {|o| (s = o.new_status) && s.is_closed? ? 'issue-closed' : 'issue-edit' }, + :type => Proc.new {|o| (s = o.new_status) ? (s.is_closed? ? 'issue-closed' : 'issue-edit') : 'issue-note' }, :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.issue.id, :anchor => "change-#{o.id}"}} def save |