comparison lib/Implab/Web/Resources/Root.pm @ 0:aac1085b256d

initial commit
author cin
date Sat, 15 Mar 2014 00:34:33 +0400
parents
children 573272ec604b
comparison
equal deleted inserted replaced
-1:000000000000 0:aac1085b256d
1 package Implab::Web::Resources::Root;
2 use strict;
3
4 use IMPL::declare {
5 require => {
6 LibraryResource => '-Benzin::Web::Resources::Doxygen::Library',
7 UserResource => '-Benzin::Web::Resources::UserResource'
8 },
9 base => [
10 'IMPL::Web::Application::Resource' => '@_'
11 ]
12 };
13
14 sub children {
15 return {
16 library => {
17 class => LibraryResource
18 },
19 user => {
20 class => UserResource,
21 components => [qw(login logout passwd edit)]
22 }
23 };
24 }
25
26 1;