Fix paging links for /shortlog.
[catagits/Gitalist.git] / lib / Gitalist / ActionRole / FilenameArgs.pm
index 3283aa2..1401cfd 100644 (file)
@@ -6,7 +6,8 @@ requires 'execute';
 
 before 'execute' => sub {
     my ($self, $controller, $c, @args) = @_;
-    $c->stash->{filename} = join('/', @args) || '';
+    $c->stash->{filename} = join('/', @args) || ''
+        unless $c->stash->{filename};
 };
 
 1;