source: server/trunk/web/lib/Sophie/Controller/404.pm @ 114

Last change on this file since 114 was 50, checked in by nanardon, 14 years ago
  • add view of rpms over distrib

add path inside website

File size: 605 bytes
Line 
1package Sophie::Controller::404;
2use Moose;
3use namespace::autoclean;
4
5BEGIN {extends 'Catalyst::Controller'; }
6
7=head1 NAME
8
9Sophie::Controller::404 - Catalyst Controller
10
11=head1 DESCRIPTION
12
13Catalyst Controller.
14
15=head1 METHODS
16
17=cut
18
19
20=head2 index
21
22=cut
23
24sub index :Path :Args(0) {
25    my ( $self, $c ) = @_;
26
27    $c->response->status(404);
28    #$c->response->body('No such file or directory');
29}
30
31
32=head1 AUTHOR
33
34Olivier Thauvin
35
36=head1 LICENSE
37
38This library is free software. You can redistribute it and/or modify
39it under the same terms as Perl itself.
40
41=cut
42
43__PACKAGE__->meta->make_immutable;
44
451;
Note: See TracBrowser for help on using the repository browser.