summaryrefslogtreecommitdiff
path: root/app/views/events/_commit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/_commit.html.haml')
-rw-r--r--app/views/events/_commit.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml
index ca0f29e2d6b..15f3bb5a97d 100644
--- a/app/views/events/_commit.html.haml
+++ b/app/views/events/_commit.html.haml
@@ -1,9 +1,9 @@
- commit = CommitDecorator.decorate(commit)
%li.wll.commit
%p
- = link_to commit.short_id(8), project_commit_path(project, :id => commit.id), :class => "commit_short_id"
+ = link_to commit.short_id(8), project_commit_path(project, id: commit.id), class: "commit_short_id"
%strong.cdark= commit.author_name
–
- = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
- = gfm truncate(commit.title, :length => 50), project_commit_path(project, :id => commit.id) rescue "--broken encoding"
+ = image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
+ = gfm truncate(commit.title, length: 50), project_commit_path(project, id: commit.id) rescue "--broken encoding"