Skip to content
Snippets Groups Projects
Commit 592d626d authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Fix #2576

parent 0dd8a26a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment