summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-30 18:33:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-30 18:33:35 +0000
commit6034067d8623e87ef1391962b882fcc93196bf4b (patch)
treea52e8b65017b8ec9a341021536b286ba355033f4 /app
parent3197814c623f3541bb8b66c11af70eeedbfbee52 (diff)
downloadredmine-6034067d8623e87ef1391962b882fcc93196bf4b.tar.gz
redmine-6034067d8623e87ef1391962b882fcc93196bf4b.zip
Fixed: activity atom feed broken by r1701 (#1703).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1711 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index ce4b24b8b..cfac01b9a 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -240,7 +240,7 @@ class ProjectsController < ApplicationController
render :layout => false if request.xhr?
}
format.atom {
- title = (@scope.size == 1) ? l("label_#{@scope.first.singularize}_plural") : l(:label_activity)
+ title = (@activity.scope.size == 1) ? l("label_#{@activity.scope.first.singularize}_plural") : l(:label_activity)
render_feed(events, :title => "#{@project || Setting.app_title}: #{title}")
}
end