b389247c02
Commits#show (plural) is going to be for showing commit history on a specific path.
9 lines
363 B
Plaintext
9 lines
363 B
Plaintext
- commit = CommitDecorator.decorate(commit)
|
|
%li.commit
|
|
%p
|
|
= link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id"
|
|
%span= commit.author_name
|
|
–
|
|
= image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
|
|
= gfm escape_once(truncate(commit.title, length: 50)) rescue "--broken encoding"
|