fixed #976
This commit is contained in:
parent
66ea747571
commit
22b73c736b
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class StatusMessagesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
if request.env['HTTP_REFERER'].include?("people")
|
if request.env['HTTP_REFERER'].include?("people")
|
||||||
flash[:notice] = t('.success', :names => @status_message.mentions.includes(:person => :profile).map{ |mention| mention.person.name }.join(', '))
|
flash[:notice] = t('status_messages.create.success', :names => @status_message.mentions.includes(:person => :profile).map{ |mention| mention.person.name }.join(', '))
|
||||||
end
|
end
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue