comparison Lib/IMPL/Web/Application/Resource.pm @ 391:2287c72f303a

code cleanup
author cin
date Thu, 13 Feb 2014 20:17:22 +0400
parents 441e84031c7b
children 54b1dc9e808a
comparison
equal deleted inserted replaced
390:de1f875e8875 391:2287c72f303a
161 verbs => { 161 verbs => {
162 # non-standart verbs placed here 162 # non-standart verbs placed here
163 myverb => sub { } 163 myverb => sub { }
164 }, 164 },
165 #child resources can be a hash 165 #child resources can be a hash
166 chidren => { 166 children => {
167 user => { 167 user => {
168 # a resource class may be specified optionally 168 # a resource class may be specified optionally
169 # class => Resource, 169 # class => Resource,
170 model => sub { 170 model => sub {
171 return Security->principal 171 return Security->principal