Last change
on this file since 1658 was
870,
checked in by nanardon, 13 years ago
|
- add XML::RPC interface to website
- add XML::RPC clients project
- add tools to allow user to change their password
|
File size:
698 bytes
|
Line | |
---|
1 | package LATMOS::Accounts::Web::Controller::About; |
---|
2 | use strict; |
---|
3 | use warnings; |
---|
4 | use base 'Catalyst::Controller'; |
---|
5 | |
---|
6 | =head1 NAME |
---|
7 | |
---|
8 | LATMOS::Accounts::Web::Controller::About - Catalyst Controller |
---|
9 | |
---|
10 | =head1 DESCRIPTION |
---|
11 | |
---|
12 | Catalyst Controller. |
---|
13 | |
---|
14 | =head1 METHODS |
---|
15 | |
---|
16 | =cut |
---|
17 | |
---|
18 | |
---|
19 | =head2 index |
---|
20 | |
---|
21 | =cut |
---|
22 | |
---|
23 | sub index :Path :Args(0) { |
---|
24 | my ( $self, $c ) = @_; |
---|
25 | |
---|
26 | $c->stash->{page}{title} = "A propos..."; |
---|
27 | } |
---|
28 | |
---|
29 | sub echo : XMLRPC { |
---|
30 | my ( $self, $c, @args ) = @_; |
---|
31 | return RPC::XML::fault->new( 400, "No input!" |
---|
32 | ) unless @args; |
---|
33 | return join ' ', @args; |
---|
34 | } |
---|
35 | |
---|
36 | =head1 AUTHOR |
---|
37 | |
---|
38 | Olivier Thauvin |
---|
39 | |
---|
40 | =head1 LICENSE |
---|
41 | |
---|
42 | This library is free software. You can redistribute it and/or modify |
---|
43 | it under the same terms as Perl itself. |
---|
44 | |
---|
45 | =cut |
---|
46 | |
---|
47 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.