We already checked commit.author is not nil, so it must be there

This commit is contained in:
Lin Jen-Shin 2016-09-26 16:39:24 +08:00
parent fd2ce24149
commit d245f98017

View file

@ -125,7 +125,7 @@
= commit.author_name
- else
%a.muted{:href => user_url(commit.author), :style => "color:#333333;text-decoration:none;"}
= commit.author.try(:name) || commit.author_name
= commit.author.name
%tr.spacer
%td{:style => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"}