提交 592d626d 编写于 作者: R Riyad Preukschas

Fix #2576

上级 0dd8a26a
......@@ -49,7 +49,7 @@ module Gitlab
protected
def can_edit?(last_commit)
current_last_commit = @project.last_commit_for(ref, file_path).sha
current_last_commit = @project.repository.last_commit_for(ref, file_path).sha
last_commit == current_last_commit
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册