I am setting the flash and then redirecting and no message is showing up. Here is the code:
$this->flash->success('Your comment is saved');
return $this->redirect('forum/show/'.$forum_post_id);
And the redirect function is:
protected function redirect($uri){
$response = new \Phalcon\Http\Response();
return $response->redirect($uri);
}
Am I doing something wrong?