=head2 commit
-Exposes a given commit. Probably too simple currently.
+Exposes a given commit.
=cut
);
}
+=head2 shortlog
+
+Expose an abbreviated log of a given sha1.
+
+=cut
+
+sub shortlog : Local {
+ my ( $self, $c ) = @_;
+
+ $c->stash(
+ commit => $c->model('Git')->get_object($c->req->param('h')),
+ action => 'shortlog',
+ );
+}
+
=head2 auto
Populate the header and footer. Perhaps not the best location.