@@ -311,7 +311,10 class ProjectsController < ApplicationController | |||
|
311 | 311 | |
|
312 | 312 | respond_to do |format| |
|
313 | 313 | format.html { render :layout => false if request.xhr? } |
|
314 | format.atom { render_feed(@events, :title => "#{@project || Setting.app_title}: #{l(:label_activity)}") } | |
|
314 | format.atom { | |
|
315 | title = (@scope.size == 1) ? l("label_#{@scope.first.singularize}_plural") : l(:label_activity) | |
|
316 | render_feed(@events, :title => "#{@project || Setting.app_title}: #{title}") | |
|
317 | } | |
|
315 | 318 | end |
|
316 | 319 | end |
|
317 | 320 |
General Comments 0
You need to be logged in to leave comments.
Login now