comparison 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
comparison
equal deleted inserted replaced
331:2ff1726c066c 332:04a093f0a5a6
109 my $form = MyApp::Web::Schema::UpdateUser->new(); 109 my $form = MyApp::Web::Schema::UpdateUser->new();
110 110
111 $this->model->update( $form->Bind($action) ); 111 $this->model->update( $form->Bind($action) );
112 } 112 }
113 113
114 our %COMPONENTS = (
115 item => {
116 verbs => {
117 get => sub {
118 shift->model;
119 }
120 },
121 resources => [
122 edit =>
123 ]
124 }
125 );
126
114 =end code 127 =end code
115 128
116 =head1 MEMBERS 129 =head1 MEMBERS
117 130
118 =head2 C<[static]contractFactory> 131 =head2 C<[static]contractFactory>