diff Lib/IMPL/Web/Application/CustomResource.pm @ 332:04a093f0a5a6

IMPL::Web::Application refactoring: resources are created per client request
author cin
date Sun, 09 Jun 2013 21:48:57 +0400
parents fe725fad2d90
children 71221d79e6b4
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application/CustomResource.pm	Wed Jun 05 18:21:11 2013 +0400
+++ b/Lib/IMPL/Web/Application/CustomResource.pm	Sun Jun 09 21:48:57 2013 +0400
@@ -111,6 +111,19 @@
     $this->model->update( $form->Bind($action) );
 }
 
+our %COMPONENTS = (
+	item => {
+		verbs => {
+			get => sub {
+				shift->model;
+			}
+		},
+		resources => [
+			edit => 
+		]
+	}
+);
+
 =end code
 
 =head1 MEMBERS