JSON api serializers for suppliers

This commit is contained in:
2015-09-09 19:11:46 +02:00
parent 5cdbe57dec
commit 968d042501
37 changed files with 86 additions and 133 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class User
# This is the user name as it is shown to the supplier
def supplier_name
auth_data['info']['name'] rescue I18n.t('user.unknown_supplier_name')
auth_data['info']['name'] rescue I18n.t('supplier.unknown_user_name')
end
# This is the user name as it is shown to other users