On 04/06/2011 01:57 AM, Richard Su wrote:
account_name changed to account_id to match credential definition.
Bug 974
---
.../views/admin/provider_accounts/_properties.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/admin/provider_accounts/_properties.haml
b/src/app/views/admin/provider_accounts/_properties.haml
index 27789a1..7dbf573 100644
--- a/src/app/views/admin/provider_accounts/_properties.haml
+++ b/src/app/views/admin/provider_accounts/_properties.haml
@@ -8,6 +8,6 @@
%p
%label
Account ID:
- = @account.credentials_hash['account_number']
+ = @account.credentials_hash['account_id']
= link_to "Edit", edit_admin_provider_account_path(@account), { :class =>
'button' }
= link_to "Test", admin_provider_account_path(@account, {:test_account =>
true}), { :class => 'button' }
Hey Richard,
thanks for the patch. It works and I would have ACKed it normally.
However, we're changing the way the account.credentals_hash works (see
the Redmine #692 patch) and it so happens that once that's in, the
"account_number" key will be the correct one.
I'm sorry for this mishap,
Thomas