mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:26:01 +01:00
Use full translation key for messages
This commit is contained in:
parent
d609435f7c
commit
0ab822c33a
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class Ajax::RelationshipController < AjaxController
|
|||
type: params[:type]
|
||||
)
|
||||
@response[:success] = true
|
||||
@response[:message] = t(".success")
|
||||
@response[:message] = t('messages.friend.create.success')
|
||||
rescue Errors::Base => e
|
||||
@response[:message] = t(e.locale_tag)
|
||||
ensure
|
||||
|
@ -30,7 +30,7 @@ class Ajax::RelationshipController < AjaxController
|
|||
type: params[:type]
|
||||
)
|
||||
@response[:success] = true
|
||||
@response[:message] = t(".success")
|
||||
@response[:message] = t('messages.friend.create.success')
|
||||
rescue Errors::Base => e
|
||||
@response[:message] = t(e.locale_tag)
|
||||
ensure
|
||||
|
|
Loading…
Reference in a new issue