From eed32f70beaa062f41f2a38262480a37450b9e53 Mon Sep 17 00:00:00 2001 From: maxwell Date: Thu, 17 Mar 2011 10:50:11 -0700 Subject: [PATCH] add a missing space for notifications with less than 4 people --- app/helpers/notifications_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 3a22c8738..e8a1d30cf 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -48,7 +48,7 @@ module NotificationsHelper number_of_actors = actors.count actor_links = actors.collect{ |person| link_to("#{h(person.name.titlecase)}", person_path(person))} if number_of_actors < 4 - message = actor_links.join(',') + message = actor_links.join(', ') else message = actor_links[0..2].join(', ') << " #{t('.and_others', :number =>(number_of_actors - 3))}' end