Mercurial > pub > site.implab
annotate lib/Implab/Web/Resources/Root.pm @ 10:83ad674a8cdd
updated styles
author | sergey |
---|---|
date | Thu, 15 May 2014 01:51:42 +0400 |
parents | aac1085b256d |
children | 573272ec604b |
rev | line source |
---|---|
0 | 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; |