From 905ac8c1e6827ec268c37bfb0010139dee16366c Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Fri, 5 Nov 2010 19:48:50 +0100 Subject: [PATCH] update to incorporate latest acts_as_journalized fixes --- app/models/issue.rb | 3 ++- vendor/plugins/acts_as_journalized | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index d93143d7..fac53971 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -37,7 +37,8 @@ class Issue < ActiveRecord::Base acts_as_watchable acts_as_journalized :event_title => Proc.new {|o| "#{o.tracker.name} ##{o.journaled_id} (#{o.status}): #{o.subject}"}, - :event_type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') } + :event_type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') }, + :except => [:description] register_on_journal_formatter(:id, 'parent_id') register_on_journal_formatter(:named_association, 'project_id', 'status_id', 'tracker_id', 'assigned_to_id', diff --git a/vendor/plugins/acts_as_journalized b/vendor/plugins/acts_as_journalized index 1f702094..7afb22c7 160000 --- a/vendor/plugins/acts_as_journalized +++ b/vendor/plugins/acts_as_journalized @@ -1 +1 @@ -Subproject commit 1f7020941c8faded89c9e730671ede994a474923 +Subproject commit 7afb22c75f1e7a1fbdfbc95608ecbb437d6c704c