From: Tara L Andrews Date: Mon, 10 Oct 2011 13:47:01 +0000 (+0200) Subject: no need for default in non-Root X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f40c18b59992e9ad638532868a51937c42764688;p=scpubgit%2Fstemmatology.git no need for default in non-Root --- diff --git a/TreeOfTexts/lib/TreeOfTexts/Controller/Stemmagraph.pm b/TreeOfTexts/lib/TreeOfTexts/Controller/Stemmagraph.pm index 868b3f2..d0c4acb 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Controller/Stemmagraph.pm +++ b/TreeOfTexts/lib/TreeOfTexts/Controller/Stemmagraph.pm @@ -53,18 +53,6 @@ sub get_graph :Local { $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.