i've some difficult to exactly understand the redirect behavior.
Pratically i've a Controller that call some Interceptor classes
...
$i->intercept();
...
these classes do some work and may decide to redirect request to another Controller\Action.
...
$redirector->toRoute($route, array(
'action' => $action,
));
But this line seems to do nothing, in fact in the page is show the content of the originally called action. Calling 1 the original action and 2 the action after redirect, what i want is to execute the action 2 and render the related view and not execute the code of action 1.
What i'm doing wrong?
Thanks a lot