summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:11:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:11:45 +0100
commit680073d4cf7619bddfb7f79ea9e538a33d9dcdee (patch)
tree80164c8e9c8d70cb9384e5a02743d65ae3180bfa /app/views/call_routes
parent6d5cc233d0db71f826a27c9151d0af121d0fe616 (diff)
Refactoring
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}