diff options
author | spag <spag@golwen.net> | 2013-01-28 09:26:47 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-28 09:26:47 +0100 |
commit | 29ac1a26b5d78c3d8570928df73610de0a361297 (patch) | |
tree | 3ec56353f7a9ec3c8a7275708e9ce0c088411cf7 /app/views/call_routes/_index_core.html.haml | |
parent | e500814c387818938bfe76299a25a04de7e1cbfb (diff) |
render route endpoint
Diffstat (limited to 'app/views/call_routes/_index_core.html.haml')
-rw-r--r-- | app/views/call_routes/_index_core.html.haml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml index 2e9238e..f0acebb 100644 --- a/app/views/call_routes/_index_core.html.haml +++ b/app/views/call_routes/_index_core.html.haml @@ -4,7 +4,7 @@ %tr %th= t('call_routes.index.name') %th= t('route_elements.index.pattern') - %th= t('call_routes.index.endpoint_type') + %th= t('call_routes.index.endpoint') %tbody - for call_route in call_routes @@ -18,5 +18,10 @@ = ', ...' - else = '-' - %td= call_route.endpoint_type - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => call_route}
\ No newline at end of file + %td + - endpoint = call_route.endpoint + - if endpoint + = endpoint + - else + = call_route.endpoint_type + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => call_route} |