summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/_index_core.html.haml2
-rw-r--r--app/views/call_routes/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml
index a665b5d..2e9238e 100644
--- a/app/views/call_routes/_index_core.html.haml
+++ b/app/views/call_routes/_index_core.html.haml
@@ -1,5 +1,5 @@
- cache(['call_routes_table', call_routes.count, call_routes.reorder(:updated_at).last]) do
- %table{:class => 'table table-striped'}
+ %table.table.table-striped
%thead
%tr
%th= t('call_routes.index.name')
diff --git a/app/views/call_routes/index.html.haml b/app/views/call_routes/index.html.haml
index bd4468c..488e1c7 100644
--- a/app/views/call_routes/index.html.haml
+++ b/app/views/call_routes/index.html.haml
@@ -1,7 +1,7 @@
- content_for :title, t("call_routes.index.page_title")
- if @call_routes && @call_routes.count > 0
- %table{:class => 'table table-striped'}
+ %table.table.table-striped
- @routing_tables.each do |routing_table|
%tr
%td{:colspan => 3}