summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/common/feed.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/common/feed.atom.builder b/app/views/common/feed.atom.builder
index d7f4c8b00..0fbe1063c 100644
--- a/app/views/common/feed.atom.builder
+++ b/app/views/common/feed.atom.builder
@@ -36,7 +36,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
@items.each do |item|
xml.entry do
url = url_for(item.event_url(:only_path => false, :protocol => protocol, :host => host))
- if @project
+ if @project == item.project
xml.title truncate_single_line_raw(item.event_title, 100)
else
xml.title truncate_single_line_raw("#{item.project} - #{item.event_title}", 100)