Add BlameController, remove Refs#blame action
This commit is contained in:
parent
37f0b600bc
commit
39c6579306
8 changed files with 57 additions and 27 deletions
|
@ -7,7 +7,7 @@
|
|||
%span.options
|
||||
= link_to "raw", blob_project_ref_path(@project, @ref, path: @path), class: "btn very_small", target: "_blank"
|
||||
= link_to "history", project_commits_path(@project, path: params[:path], ref: @ref), class: "btn very_small"
|
||||
= link_to "blame", blame_file_project_ref_path(@project, @ref, path: @path.gsub(/^\//, '')), class: "btn very_small"
|
||||
= link_to "blame", project_blame_path(@project, @id), class: "btn very_small"
|
||||
- if file.text?
|
||||
- if gitlab_markdown?(name)
|
||||
.file_content.wiki
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue