Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-11 02:07:50 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-11 02:25:15 +0400
commit775418918782d5284000ed0bfea364458c748567 (patch)
treec31e3633a3bcbed17b000f0165cf35edad41f7ca /app/views/events/_commit.html.haml
parent1413c23c502d5a5cbc9b81f553a245103c1d6e50 (diff)
Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
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
&ndash;
- = 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"