Commit 592d626dad76432dc67eff2fa3dc1802a6c691e7
1 parent
0dd8a26a
Exists in
master
and in
4 other branches
Fix #2576
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/satellite/edit_file_action.rb
| ... | ... | @@ -49,7 +49,7 @@ module Gitlab |
| 49 | 49 | protected |
| 50 | 50 | |
| 51 | 51 | def can_edit?(last_commit) |
| 52 | - current_last_commit = @project.last_commit_for(ref, file_path).sha | |
| 52 | + current_last_commit = @project.repository.last_commit_for(ref, file_path).sha | |
| 53 | 53 | last_commit == current_last_commit |
| 54 | 54 | end |
| 55 | 55 | end | ... | ... |