my($self, $c) = @_;
my $repository = $c->stash->{Repository};
- # WTF?
+
my $blame = $c->stash->{Commit}->blame($c->stash->{filename}, $c->stash->{Commit}->sha1);
$c->stash(
blame => $blame,
$c->forward('Model::ContentMangler');
};
+=encoding UTF-8
+
+=head1 NAME
+
+Gitalist::Controller::Fragment::Ref - Fragment::Ref module for Gitalist::Controller
+
=head2 blob
The blob action i.e the contents of a file.
my %logargs = (
sha1 => $c->stash->{Commit}->sha1,
- count => 25, #Gitalist->config->{paging}{log} || 25,
+ count => Gitalist->config->{paging}{log} || 25,
($filename ? (file => $filename) : ())
);
refs => $repository->references,
filename => $filename,
filetype => $file->type,
+ page => $page,
);
};