source: LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller.pm @ 160

Last change on this file since 160 was 160, checked in by nanardon, 15 years ago
  • manage date field, add expire field in user form
File size: 681 bytes
Line 
1package LATMOS::Accounts::Web::Controller;
2
3use strict;
4use warnings;
5use base 'Catalyst::Controller';
6
7=head1 NAME
8
9LATMOS::Accounts::Web::Controller - Base class Controller for LATMOS::Accounts::Web
10
11=head1 DESCRIPTION
12
13[enter your description here]
14
15=head1 METHODS
16
17=cut
18
19=head2 default
20
21=cut
22
23sub begin : Private {
24    my ( $self, $c ) = @_;
25
26}
27
28=head2 end
29
30Attempt to render a view, if needed.
31
32=cut 
33
34sub end : ActionClass('RenderView') {
35    my ($self, $c) = @_;
36    $c->model('Accounts')->db->rollback;
37}
38
39=head1 AUTHOR
40
41Thauvin Olivier
42
43=head1 LICENSE
44
45This library is free software, you can redistribute it and/or modify
46it under the same terms as Perl itself.
47
48=cut
49
501;
Note: See TracBrowser for help on using the repository browser.