From 0ab822c33a5a665e08ea1c6e3c7aaff1c5a0cecc Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 16 Jan 2022 18:42:41 +0100 Subject: [PATCH] Use full translation key for messages --- app/controllers/ajax/relationship_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/ajax/relationship_controller.rb b/app/controllers/ajax/relationship_controller.rb index b24659f4..d0bdea37 100644 --- a/app/controllers/ajax/relationship_controller.rb +++ b/app/controllers/ajax/relationship_controller.rb @@ -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