CatalystX-ListFramework
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/CatalystX/ListFramework.pm view on Meta::CPAN
sub get :Local {
my ($self, $c, $kind, $id) = @_;
my $lf = CatalystX::ListFramework->new($kind, $c);
$lf->stash_infoboxes({'me.id' => $id});
$c->stash->{kind} = $kind;
$c->stash->{id} = $id; # the update form adds this to the URL
$c->stash->{template} = 'detail.tt';
}
sub update :Local {
my ($self, $c, $kind, $id) = @_;
my $lf = CatalystX::ListFramework->new($kind, $c);
$lf->update_from_query({'me.id' => $id});
$c->res->redirect("/listandsearch/$kind");
}
sub create :Local {
my ($self, $c, $kind) = @_;
my $lf = CatalystX::ListFramework->new($kind, $c);
my $id = $lf->create_new;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.548 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )