summaryrefslogtreecommitdiff
path: root/lib/Bookmarks.pm
blob: 89aa0c9515bb0c9e5060a43ba24f1de31e3ae2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package Bookmarks; 
 
use strict;
use Catalyst qw/Prototype DefaultEnd Static::Simple/;
use HTML::Element;
 
our $VERSION = '0.01';
 
Bookmarks->config(
    name => 'Bookmarks',
    'Bookmarks::View::TT' => {
        TIMER => 0,
    },
);
 
Bookmarks->setup;
 
=head1 NAME
 
Bookmarks - Catalyst based application
 
=head1 SYNOPSIS
 
    script/bookmarks_server.pl
 
=head1 DESCRIPTION
 
Catalyst based application.
 
=head1 METHODS
 
=over 4
 
=item default
 
=cut
 
sub default : Private {
    my ( $self$c ) = @_;
    $c->res->redirect($c->req->base.'tags');
}
 
sub favicon : Path('favicon.ico') {
    my ( $self$c ) = @_;
    $c->res->status(404);
    $c->res->body('nonce');
}
 
=back
 
=head1 AUTHOR
 
Catalyst developer
 
=head1 LICENSE
 
This library is free software . You can redistribute it and/or modify
it under the same terms as perl itself.
 
=cut
 
1;