SubRequest
/;
-our $VERSION = '0.003004';
+our $VERSION = '0.003006';
$VERSION = eval $VERSION;
__PACKAGE__->config(
if ($ctx->req->param('a')) {
$ctx->req->uri->path("/legacy$path");
}
-
+
if($path =~ s/[.]json$// && $ctx->req->content_type eq 'application/json') {
$ctx->req->uri->path($path);
}
my $uri = $self->request->uri_with(@args);
# Wow this awful.
$uri =~ s[/fragment\b][];
- return $uri;
+ return $uri;
}
1;
The Gitalist config is loaded with L<Catalyst::Plugin::ConfigLoader>
and the available config options are:
-=head2 Model::CollectionOfRepos
-
=over
-=item git
+=item no_gravatars
+
+If true don't display gravatars. May be desirable if you are worried about
+leaking repo names via the browser referer headers.
-Path to the C<git> binary.
+=back
+
+=head2 Model::CollectionOfRepos
+
+=over
=item repo_dir