Remove decorator calls and methods from views. Repalace with helper calls when needed

This commit is contained in:
Dmitriy Zaporozhets 2013-03-31 23:47:26 +03:00
parent da5b0c91dc
commit b53557aca6
13 changed files with 18 additions and 21 deletions

View file

@ -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