projects
/
catagits/Gitalist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8dbe802
)
Stop blowing up
Tomas Doran [Sat, 7 Nov 2009 18:34:14 +0000 (18:34 +0000)]
lib/Gitalist/Controller/Root.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gitalist/Controller/Root.pm
b/lib/Gitalist/Controller/Root.pm
index
b8eb602
..
38f792c
100644
(file)
--- a/
lib/Gitalist/Controller/Root.pm
+++ b/
lib/Gitalist/Controller/Root.pm
@@
-376,6
+376,7
@@
sub auto : Private {
# XXX Move these to a plugin!
$c->stash(
time_since => sub {
+ return 'never' unless $_[0];
return age_string(time - $_[0]->epoch);
},
short_cmt => sub {