New portal in progress... (#595)

This commit is contained in:
Xavier Guimard 2016-03-30 19:51:15 +00:00
parent a13e8870cd
commit d58795456c
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,8 @@
package Lemonldap::NG::Portal::Main::Request;
use strict;
use Mouse;
extends 'Lemonldap::NG::Common::PSGI::Request';
1;

View File

@ -10,6 +10,7 @@ package Lemonldap::NG::Portal::Main::Run;
use strict;
use Mouse;
use Lemonldap::NG::Portal::Main::Request;
our $VERSION = '2.0.0';
@ -18,7 +19,7 @@ sub handler {
unless ( $self->conf->{cfgNum} and $self->conf->{cfgNum} eq HANDLER->lmConf->{cfgNum} ) {
$self->reloadConf()
}
bless $req, Lemonldap::NG::Portal::Main::Request;
bless $req, 'Lemonldap::NG::Portal::Main::Request';
return $self->SUPER::handler($req);
}