diff Lib/IMPL/Web/Handler/ViewSelector.pm @ 233:3cebcf6fdb9b

refactoring, cleaning code
author sergey
date Thu, 11 Oct 2012 04:53:08 +0400
parents 47f77e6409f7
children
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/ViewSelector.pm	Tue Oct 09 20:12:47 2012 +0400
+++ b/Lib/IMPL/Web/Handler/ViewSelector.pm	Thu Oct 11 04:53:08 2012 +0400
@@ -1,7 +1,7 @@
 package IMPL::Web::Handler::ViewSelector;
 use strict;
 
-use IMPL::lang qw(:declare :constants);
+use IMPL::Const qw(:prop);
 
 use IMPL::declare {
     require => {
@@ -14,9 +14,9 @@
         'IMPL::Object::Serializable' => undef
       ],
       props => [
-        views    => PROP_ALL | PROP_LIST,
-        fallback => PROP_ALL,
-        types    => PROP_ALL
+        views    => PROP_RW | PROP_LIST,
+        fallback => PROP_RW,
+        types    => PROP_RW
       ]
 };