Mercurial > pub > Impl
diff Lib/IMPL/Web/Handler/View.pm @ 372:e12c14177848
refactoring web resources model, implementing new simplified model
author | cin |
---|---|
date | Tue, 24 Dec 2013 20:01:55 +0400 |
parents | d5c8b955bf8d |
children | 73f81f4e9570 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/View.pm Fri Dec 13 16:49:47 2013 +0400 +++ b/Lib/IMPL/Web/Handler/View.pm Tue Dec 24 20:01:55 2013 +0400 @@ -10,7 +10,7 @@ Factory => 'IMPL::Web::View::ObjectFactory', HttpResponse => 'IMPL::Web::HttpResponse', Loader => 'IMPL::Code::Loader', - ViewResult => '-IMPL::Web::ViewResult', + ViewResult => 'IMPL::Web::ViewResult', Security => 'IMPL::Security' }, base => [ @@ -58,7 +58,8 @@ layout => $this->layout, document => {}, session => sub { Security->context }, - user => sub { Security->principal } + user => sub { Security->principal }, + security => sub { $action->security } }; my %responseParams = (