/**
  * Redirect users to the /post/discussion end point after email confirmation.
  *
  * @param EntryController $sender Sending controller instance.
  */
 public function entryController_render_after($sender)
 {
     if ($sender->data('EmailConfirmed')) {
         echo '<meta http-equiv="Refresh" content="1; url=' . url('/post/discussion?welcomepost=true') . '">';
     }
 }