Remove decorator calls and methods from views. Repalace with helper calls when needed
This commit is contained in:
parent
da5b0c91dc
commit
b53557aca6
13 changed files with 18 additions and 21 deletions
|
@ -24,14 +24,14 @@
|
|||
.row
|
||||
.span5
|
||||
.author
|
||||
= @commit.author_link avatar: true, size: 32
|
||||
= commit_author_link(@commit, avatar: true, size: 32)
|
||||
authored
|
||||
%time{title: @commit.authored_date.stamp("Aug 21, 2011 9:23pm")}
|
||||
#{time_ago_in_words(@commit.authored_date)} ago
|
||||
- if @commit.different_committer?
|
||||
.committer
|
||||
→
|
||||
= @commit.committer_link
|
||||
= commit_committer_link(@commit)
|
||||
committed
|
||||
%time{title: @commit.committed_date.stamp("Aug 21, 2011 9:23pm")}
|
||||
#{time_ago_in_words(@commit.committed_date)} ago
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue