From: Toshi MARUYAMA Date: Sat, 11 Jul 2020 01:21:35 +0000 (+0000) Subject: remove spaces inside {} of app/models/journal.rb X-Git-Tag: 4.2.0~916 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=04206e70d4b9e19c51fe0c49add3fc1526fc703d;p=redmine.git remove spaces inside {} of app/models/journal.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19881 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/journal.rb b/app/models/journal.rb index e60605161..64b16108e 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -29,11 +29,11 @@ class Journal < ActiveRecord::Base has_many :details, :class_name => "JournalDetail", :dependent => :delete_all, :inverse_of => :journal attr_accessor :indice - acts_as_event :title => Proc.new {|o| status = ((s = o.new_status) ? " (#{s})" : nil); "#{o.issue.tracker} ##{o.issue.id}#{status}: #{o.issue.subject}" }, + 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, :group => :issue, - :type => Proc.new {|o| (s = o.new_status) ? (s.is_closed? ? 'issue-closed' : 'issue-edit') : 'issue-note' }, + :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}"}} acts_as_activity_provider :type => 'issues',