summaryrefslogtreecommitdiff
path: root/app/views/refs/blame.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refs/blame.html.haml')
-rw-r--r--app/views/refs/blame.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/refs/blame.html.haml b/app/views/refs/blame.html.haml
index 6d036c94c64..34478d4b491 100644
--- a/app/views/refs/blame.html.haml
+++ b/app/views/refs/blame.html.haml
@@ -4,7 +4,7 @@
%ul.breadcrumb
%li
%span.arrow
- = link_to tree_project_ref_path(@project, @ref, :path => nil) do
+ = link_to tree_project_ref_path(@project, @ref, path: nil) do
= @project.name
- @tree.breadcrumbs(6) do |link|
\/
@@ -18,9 +18,9 @@
= @tree.name
%small blame
%span.options
- = link_to "raw", blob_project_ref_path(@project, @ref, :path => params[: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 "source", tree_file_project_ref_path(@project, @ref, :path => params[:path]), :class => "btn very_small"
+ = link_to "raw", blob_project_ref_path(@project, @ref, path: params[: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 "source", tree_file_project_ref_path(@project, @ref, path: params[:path]), class: "btn very_small"
.file_content.blame
%table
- @blame.each do |commit, lines|
@@ -32,8 +32,8 @@
= commit.author_name
%td.blame_commit
 
- %code= link_to commit.short_id, project_commit_path(@project, :id => commit.id)
- = link_to_gfm truncate(commit.title, :length => 30), project_commit_path(@project, :id => commit.id), :class => "row_title" rescue "--broken encoding"
+ %code= link_to commit.short_id, project_commit_path(@project, id: commit.id)
+ = link_to_gfm truncate(commit.title, length: 30), project_commit_path(@project, id: commit.id), class: "row_title" rescue "--broken encoding"
%td.lines
= preserve do
%pre