getControllerName() != 'thank-you') { $request->setModuleName('default') ->setControllerName('thank-you') ->setActionName('index') ->setDispatched(true); } } } }