Mercurial > pub > Impl
diff Lib/IMPL/Web/Handler/RestController.pm @ 233:3cebcf6fdb9b
refactoring, cleaning code
author | sergey |
---|---|
date | Thu, 11 Oct 2012 04:53:08 +0400 |
parents | 6d8092d8ce1b |
children | a02b110da931 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/RestController.pm Tue Oct 09 20:12:47 2012 +0400 +++ b/Lib/IMPL/Web/Handler/RestController.pm Thu Oct 11 04:53:08 2012 +0400 @@ -1,7 +1,7 @@ package IMPL::Web::Handler::RestController; use strict; -use IMPL::lang qw(:declare :constants); +use IMPL::Const qw(:prop); use IMPL::declare { require => { ResourceInterface => 'IMPL::Web::Application::ResourceInterface', @@ -15,8 +15,8 @@ 'IMPL::Object::Serializable' => undef }, props => [ - rootResource => PROP_GET | PROP_OWNERSET, - trailingSlash => PROP_GET | PROP_OWNERSET + rootResource => PROP_RO, + trailingSlash => PROP_RO ] };