$c->forward('/shortlog');
}
+sub heads : Chained('find') Args(0) {
+ my ($self, $c) = @_;
+ $c->stash(
+ no_wrapper => 1,
+ heads => $c->stash->{Repository}->heads,
+ );
+}
+
sub log : Chained('find') Args(0) {
my ($self, $c) = @_;
$c->stash(template => 'log.tt2');
[% Repository.name %]
</div>
- [% INCLUDE '_heads.tt2' %]
+ [% INCLUDE 'repository/heads.tt2' %]
</div>
[% INCLUDE '_shortlog.tt2' %]
<h2><a href='[% c.uri_for("heads") %]'>branches</a></h2>
- [% INCLUDE '_heads.tt2' %]
+ [% INCLUDE 'repository/heads.tt2' %]
</div>
[% Repository.name %]
</div>
- [% INCLUDE '_heads.tt2' heads = tags %]
+ [% INCLUDE 'repository/heads.tt2' heads = tags %]
</div>