Hi there,
public function chargeCardAction()
{
return $this->response->redirect('booking/booked');
}
The above action is called from a page. There is other code inthe chargeCardAction but it's commented out and removed here for the sake of brevity. The bottom line is that after the code executes, it finally redirects to 'booking/booked'. The bookedAction is called (I set a breakpoint in there) and I watch it execute and output the volt template associated with the action.
However, despite executing the getContent() method and my debug environment and seeing the correct output, the brower's URL doesn't change and neither does the content of the page. It stays the same as when it called the chargeCardAction() ???
I've spent hours trying to work out why but it just doesn't seem to work and I don't know why :( Any ideas?
Thanks.