Last change
on this file since 422 was
173,
checked in by nanardon, 13 years ago
|
- add /feed section (RSS feeds)
|
File size:
640 bytes
|
Line | |
---|
1 | package Sophie::Controller::Feed::My; |
---|
2 | use Moose; |
---|
3 | use namespace::autoclean; |
---|
4 | |
---|
5 | BEGIN {extends 'Catalyst::Controller'; } |
---|
6 | |
---|
7 | =head1 NAME |
---|
8 | |
---|
9 | Sophie::Controller::Feed::My - Catalyst Controller |
---|
10 | |
---|
11 | =head1 DESCRIPTION |
---|
12 | |
---|
13 | Catalyst Controller. |
---|
14 | |
---|
15 | =head1 METHODS |
---|
16 | |
---|
17 | =cut |
---|
18 | |
---|
19 | |
---|
20 | =head2 index |
---|
21 | |
---|
22 | =cut |
---|
23 | |
---|
24 | sub index :Path :Args(0) { |
---|
25 | my ( $self, $c ) = @_; |
---|
26 | |
---|
27 | my $rss = $c->model('Rss'); |
---|
28 | |
---|
29 | $c->response->body('Matched Sophie::Controller::Feed::My in Feed::My.'); |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | =head1 AUTHOR |
---|
34 | |
---|
35 | Olivier Thauvin |
---|
36 | |
---|
37 | =head1 LICENSE |
---|
38 | |
---|
39 | This library is free software. You can redistribute it and/or modify |
---|
40 | it under the same terms as Perl itself. |
---|
41 | |
---|
42 | =cut |
---|
43 | |
---|
44 | __PACKAGE__->meta->make_immutable; |
---|
45 | |
---|
46 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.