=head1 NAME
-TreeOfTexts::Controller::Root - Root Controller for TreeOfTexts
+TreeOfTexts::Controller::Stemmagraph - Simple controller for stemma display
=head1 DESCRIPTION
# The body is actually a File::Temp object; this is undocumented but
# so it seems to be.
my $dotfile;
- $DB::single = 1;
my $must_unlink = 0;
if( $c->request->params->{'dot'} ) {
# Make a File::Temp object.
$c->forward( "View::SVG" );
}
-=head2 default
-
-Standard 404 error page
-
-=cut
-
-sub default :Path {
- my ( $self, $c ) = @_;
- $c->response->body( 'Page not found' );
- $c->response->status(404);
-}
-
=head2 end
Attempt to render a view, if needed.