1 2 3 4 5 6 7 8 9 10 11
sub Update{ my ($self, $c) = @_; $self->{params}->{title} = 'Controler::Catalog::Update'; my $cid = $c->request->next_query_part; $c->model('Catalog')->update($c, $cid); $self->Show($c); }