summaryrefslogtreecommitdiff
path: root/app/views/call_routes/_index_core.html.haml
blob: 222303b56bee84d6d2dc47cac41bd74fca4155ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- cache(['call_routes_table', call_routes.count, call_routes.reorder(:updated_at).last]) do 
  %table{:class => 'table table-striped'}
    %tr
      %th= t('call_routes.index.name')
      %th= t('call_routes.index.endpoint_type')
      %th= t('call_routes.index.endpoint_id')

    
    - for call_route in call_routes
      %tr
        - cache(['call_route_single_table_row_within_tr', call_route, call_routes.count]) do 
          %td= call_route.name
          %td= call_route.endpoint_type
          %td= call_route.endpoint_id
          =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => call_route}