source: branches/4.0/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/About.pm @ 1341

Last change on this file since 1341 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 
1package LATMOS::Accounts::Web::Controller::About;
2use strict;
3use warnings;
4use base 'Catalyst::Controller';
5
6=head1 NAME
7
8LATMOS::Accounts::Web::Controller::About - Catalyst Controller
9
10=head1 DESCRIPTION
11
12Catalyst Controller.
13
14=head1 METHODS
15
16=cut
17
18
19=head2 index
20
21=cut
22
23sub index :Path :Args(0) {
24    my ( $self, $c ) = @_;
25
26    $c->stash->{page}{title} = "A propos...";
27}
28
29sub 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
38Olivier Thauvin
39
40=head1 LICENSE
41
42This library is free software. You can redistribute it and/or modify
43it under the same terms as Perl itself.
44
45=cut
46
471;
Note: See TracBrowser for help on using the repository browser.