Provided support for remaining legacy URIs.
[catagits/Gitalist.git] / lib / Gitalist / Controller / Ref.pm
index 1b36d4a..e43bd98 100644 (file)
@@ -30,7 +30,7 @@ Provides a snapshot of a given commit.
 
 =cut
 
-sub snapshot : Chained('base') Args() {
+sub snapshot : Chained('find') PathPart('snapshot') Args() {
     my ($self, $c, $format) = @_;
     $format ||= 'tgz';
     my @snap = $c->stash->{Repository}->snapshot(