From df66e9b915ff53cef1b1d51d26e48eb215f8c28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Sat, 17 Mar 2012 13:53:29 +0100 Subject: [PATCH] aaj: default to don't force notes as event descriptions #933 --- vendor/plugins/acts_as_journalized/lib/acts_as_journalized.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/plugins/acts_as_journalized/lib/acts_as_journalized.rb b/vendor/plugins/acts_as_journalized/lib/acts_as_journalized.rb index 7646d49c..670f6f33 100644 --- a/vendor/plugins/acts_as_journalized/lib/acts_as_journalized.rb +++ b/vendor/plugins/acts_as_journalized/lib/acts_as_journalized.rb @@ -181,7 +181,7 @@ module Redmine end options[:type] ||= self.name.underscore.dasherize # Make sure the name of the journalized model and not the name of the journal is used for events options[:author] ||= :user - { :description => :notes }.reverse_merge options + options.reverse_merge({:description => :notes}) end end