Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-18 12:03:34 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-18 12:03:34 +0300
commitd9c82d679fd622aead99aeb90369361a05e02a36 (patch)
tree6bc7986aafad7e0a3998c0a026573e9baf0cc032 /app/views/projects/blob/show.html.haml
parent110a5f9c96457ac314f30630735dd827d9d96a4c (diff)
Automatically fork a project when not allowed to edit a file.
Diffstat (limited to 'app/views/projects/blob/show.html.haml')
-rw-r--r--app/views/projects/blob/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/show.html.haml b/app/views/projects/blob/show.html.haml
index 3f8d11ed8c8..6988039b6c7 100644
--- a/app/views/projects/blob/show.html.haml
+++ b/app/views/projects/blob/show.html.haml
@@ -6,7 +6,7 @@
%div#tree-holder.tree-holder
= render 'blob', blob: @blob
-- if blob_editable?(@blob)
+- if can_edit_blob?(@blob)
= render 'projects/blob/remove'
- title = "Replace #{@blob.name}"