From b29f5e637816aeca6f5cc7c9acb3f380469d1630 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Sun, 10 Mar 2013 14:33:40 +0100 Subject: fix link --- app/views/users/_switchboards.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3