FWIW I highly recommend not using ->forward at all. ->detach has some sort of
reasonable use but all the other 'skip around the code' methods almost always
end up with a huge mess.
That stuff was semi useful prior to chained actions and Moose in controllers
(for reusable roles). At this poin
CIao,
On Thu, Jan 29, 2015 at 6:28 PM, QE :: Felix Ostmann wrote:
> Hi,
>
> i guess you are confused by all the different type of redirects, forwards,
> visits ...
>
> After your explanation i think you want a HTTP-Redirect
> (http://www.catalystframework.org/calendar/2007/13) / redirect_to_actio
From: "Luca Ferrari"
Hi all,
I'm surely missing something in my action:
sub edit : Local Form {
my ( $self, $c, $id ) = @_;
my $form = $self->formbuilder();
...
if ( $is_form_ok ){
...
$c->forward( 'list' );
} else {
...
}
}
The result is that the same page
Hi,
i guess you are confused by all the different type of redirects, forwards,
visits ...
After your explanation i think you want a HTTP-Redirect (
http://www.catalystframework.org/calendar/2007/13) / redirect_to_action
Please read about visit, go, forward and detach in the documentation:
(
ht