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