From 24c345721c0ca81eff41a2c771cf3297e8cca871 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Fri, 13 Mar 2020 15:04:56 +0100 Subject: [PATCH] Add hook --- app/views/projects/index.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 33210803a..37b891d65 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -1,10 +1,12 @@ <% provide(:head_title, t("projects.index.head_title")) %> - + <% if current_team %> <%= render partial: "shared/sidebar", locals: { page: 'project' } %> <%= render partial: "shared/secondary_navigation" %> + + <% if can_create_projects?(current_team) %>