Commit 1b8e68e6 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in app/controllers/projects/refs_controller.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 69298f86
......@@ -60,20 +60,14 @@ class Projects::RefsController < Projects::ApplicationController
file = @path ? File.join(@path, content.name) : content.name
last_commit = @repo.last_commit_for_path(@commit.id, file)
commit_path = project_commit_path(@project, last_commit) if last_commit
<<<<<<< HEAD
path_lock = show_path_locks && @project.find_path_lock(file)
=======
>>>>>>> upstream/master
{
file_name: content.name,
commit: last_commit,
type: content.type,
<<<<<<< HEAD
lock_label: path_lock && text_label_for_lock(path_lock, file),
=======
>>>>>>> upstream/master
commit_path: commit_path
commit_path: commit_path,
lock_label: path_lock && text_label_for_lock(path_lock, file)
}
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment