diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-13 11:21:32 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-13 11:21:32 +0200 |
commit | 23b112aee1979033c58735b1a028cd92210cec09 (patch) | |
tree | b13248aa95387603620e5403ccc6c5da00c09100 /app/views/phones/index.html.haml | |
parent | 525aaf6dcb5bafe5a949a078dee6abb24d87e2a5 (diff) |
display tenant and user phones combined
Diffstat (limited to 'app/views/phones/index.html.haml')
-rw-r--r-- | app/views/phones/index.html.haml | 2 |
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 |