diff --git a/src/Laracasts/Flash/FlashNotifier.php b/src/Laracasts/Flash/FlashNotifier.php index f11f3dc..32d1175 100644 --- a/src/Laracasts/Flash/FlashNotifier.php +++ b/src/Laracasts/Flash/FlashNotifier.php @@ -1,13 +1,18 @@ message($message, 'info', $title); + $this->session->flash('flash_notification.overlay', true); $this->session->flash('flash_notification.title', $title); } /** - * @param $message + * Flash a general message. + * + * @param string $message * @param string $level */ - public function message($message, $level = 'info', $title = 'Notice') + public function message($message, $level = 'info') { $this->session->flash('flash_notification.message', $message); $this->session->flash('flash_notification.level', $level);