summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-16 16:20:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-16 16:20:35 +0000
commit153c4c242d7ade5f9c35fe75090bcb170c26ab96 (patch)
tree014bcff30c60e640775634a5889fdf66111147b7 /app/models/journal.rb
parent05823373724e472b6b7f9f172733aa16d132ced7 (diff)
downloadredmine-153c4c242d7ade5f9c35fe75090bcb170c26ab96.tar.gz
redmine-153c4c242d7ade5f9c35fe75090bcb170c26ab96.zip
Atom feeds:
* prevent duplicate entry ids for issue changes * prevent empty email in author element git-svn-id: http://redmine.rubyforge.org/svn/trunk@1154 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r--app/models/journal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb
index 013e2644d..5aebbb7ce 100644
--- a/app/models/journal.rb
+++ b/app/models/journal.rb
@@ -32,7 +32,7 @@ class Journal < ActiveRecord::Base
acts_as_event :title => Proc.new {|o| "#{o.issue.tracker.name} ##{o.issue.id}: #{o.issue.subject}" + ((s = o.new_status) ? " (#{s})" : '') },
:description => :notes,
:author => :user,
- :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.issue.id}}
+ :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.issue.id, :anchor => "change-#{o.id}"}}
def save
# Do not save an empty journal