1 package Gitalist::URIStructure::Repository;
2 use MooseX::MethodAttributes::Role;
3 use Try::Tiny qw/try catch/;
4 use namespace::autoclean;
10 $c->stash(_do_not_mangle_uri_for => 1);
13 sub find : Chained('base') PathPart('') CaptureArgs(1) {
14 my ($self, $c, $repository) = @_;
16 $c->stash(Repository => $c->model()->get_repository($repository));
19 $c->detach('/error_404');
23 sub summary : Chained('find') PathPart('') Args(0) {}
25 sub shortlog : Chained('find') Args(0) {}
27 sub heads : Chained('find') Args(0) {}
29 sub log : Chained('find') Args(0) {}