1 package Gitalist::Controller::Fragment::Repository;
3 use namespace::autoclean;
5 BEGIN { extends 'Catalyst::Controller' }
6 with 'Gitalist::URIStructure::Repository';
8 sub base : Chained('/fragment/base') PathPart('') CaptureArgs(0) {
10 $c->stash(no_wrapper => 1);
13 after shortlog => sub {
15 $c->forward('/shortlog');
21 heads => $c->stash->{Repository}->heads,
28 template => 'log.tt2',
33 __PACKAGE__->meta->make_immutable;