summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-03-10 14:33:40 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-03-10 14:33:40 +0100
commitb29f5e637816aeca6f5cc7c9acb3f380469d1630 (patch)
treeb80e54e8c940c51c0b7f1f2a52e6a08c6c068839
parent3f332fe2c8caea0dea445822e7004d9b8f5bebe1 (diff)
fix link
-rw-r--r--app/views/users/_switchboards.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_switchboards.html.haml b/app/views/users/_switchboards.html.haml
index f79d6b8..8dca15f 100644
--- a/app/views/users/_switchboards.html.haml
+++ b/app/views/users/_switchboards.html.haml
@@ -4,4 +4,4 @@
%h2= t('switchboards.index.page_title')
- if can?( :index, Switchboard ) && user.switchboards.count > 0
= render :partial => "switchboards/index_core", :locals => {:switchboards => user.switchboards, :user => user}
- = render :partial => 'shared/create_link', :locals => {:parent => user, :child_class => Conference} \ No newline at end of file
+ = render :partial => 'shared/create_link', :locals => {:parent => user, :child_class => Switchboard} \ No newline at end of file