summaryrefslogtreecommitdiff
path: root/app/views/phones/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/phones/index.html.haml')
-rw-r--r--app/views/phones/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phones/index.html.haml b/app/views/phones/index.html.haml
index 4de7919..8e61706 100644
--- a/app/views/phones/index.html.haml
+++ b/app/views/phones/index.html.haml
@@ -1,6 +1,6 @@
- content_for :title, t("phones.index.page_title")
- if @phones.count > 0
- = render "index_core", :phones => @phones
+ = render "index_core", :phones => @phones, :show_phoneable => (@parent.class == Tenant)
= render :partial => 'shared/create_link', :locals => {:parent => @parent, :child_class => Phone} \ No newline at end of file