From d4d0a5c7a77fe01e1c43d980f6bb6bed2c54330a Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Mon, 29 Jan 2018 13:53:44 +0100 Subject: [PATCH] Fix translations not being picked up This attribute belongs to another model, so Rails couldn't find its translation. --- app/views/users/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 9d93c1d7b..2deb86c4e 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -43,7 +43,7 @@ <%= User.human_attribute_name(:alt_phone) %> - <%= sort_link @search, 'accounts_balance', User.human_attribute_name(:balance) %> + <%= sort_link @search, 'accounts_balance', Account.human_attribute_name(:balance) %> <% if current_user.manages? current_organization %>