summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/show.html.haml
diff options
context:
space:
mode:
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}"