diff options
Diffstat (limited to 'app/views/projects/snippets/index.html.haml')
-rw-r--r-- | app/views/projects/snippets/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/index.html.haml b/app/views/projects/snippets/index.html.haml index f53b2051835..7c936c849d0 100644 --- a/app/views/projects/snippets/index.html.haml +++ b/app/views/projects/snippets/index.html.haml @@ -4,7 +4,7 @@ - if @snippets.exists? - if current_user .top-area - - include_private = @project.team.member?(current_user) || current_user.admin? + - include_private = @project.member?(current_user) || current_user.admin? = render partial: 'snippets/snippets_scope_menu', locals: { subject: @project, include_private: include_private, counts: @snippet_counts } - if new_project_snippet_link.present? |