summaryrefslogtreecommitdiff
path: root/app/views/phone_sip_accounts
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:52:41 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:52:41 +0100
commite905a61d1aa42629fa20837365dc879925d5204e (patch)
tree0962ba72d214d87c830fe5a6ec29a920d375d05b /app/views/phone_sip_accounts
parent5e83f10c186d403a7dfe1d35afd1b64a5935a8ec (diff)
UI improvements.
Diffstat (limited to 'app/views/phone_sip_accounts')
-rw-r--r--app/views/phone_sip_accounts/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phone_sip_accounts/_index_core.html.haml b/app/views/phone_sip_accounts/_index_core.html.haml
index 7ec04be..a2d9d98 100644
--- a/app/views/phone_sip_accounts/_index_core.html.haml
+++ b/app/views/phone_sip_accounts/_index_core.html.haml
@@ -9,6 +9,6 @@
- for phone_sip_account in phone_sip_accounts
%tr{:class => (phone_sip_account.sip_account.registration ? '' : 'warning')}
%td= phone_sip_account.phone
- %td= phone_sip_account.sip_account
+ %td= link_to phone_sip_account.sip_account, method( :"#{phone_sip_account.sip_account.sip_accountable.class.name.underscore}_#{phone_sip_account.sip_account.class.name.underscore}_path" ).(phone_sip_account.sip_account.sip_accountable, phone_sip_account.sip_account)
%td= phone_sip_account.position
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone_sip_account.phone, :child => phone_sip_account} \ No newline at end of file