/** * Flash a array containing a message to the session. * * @param string $message * @param string $type * * @return \Nova\Http\RedirectResponse */ public function withStatus($message, $type = 'success') { $status = array('type' => $type, 'text' => $message); $this->session->push('status', $status); return $this; }