summaryrefslogtreecommitdiff
path: root/app/views/projects/show.html.haml
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-06-29 12:43:01 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-07-20 09:59:56 +0100
commit3491b19a4e67a9f439c12afac45ef38f3fce0ef5 (patch)
treea548a111e88c046315e0a2633aba5656be7603ba /app/views/projects/show.html.haml
parentf0e4e3993b1f5a21ab61aaff95f73ac4e5b88ad3 (diff)
downloadgitlab-ce-3491b19a4e67a9f439c12afac45ef38f3fce0ef5.tar.gz
Add specs for ProjectDestroyWorker
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r--app/views/projects/show.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 336bc694ffc..3926149e790 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -6,11 +6,7 @@
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, project_path(@project, rss_url_options), title: "#{@project.name} activity")
-= content_for flash_message_container do
- = render 'deletion_failed'
- - if current_user && can?(current_user, :download_code, @project)
- = render 'shared/no_ssh'
- = render 'shared/no_password'
+= render partial: 'flash_messages', locals: { project: @project }
= render "projects/head"
= render "projects/last_push"