16

This tutorial covered some initial steps in displaying different flash message styles in your Laravel 5 apps. First Step: Creating Flash Message in the Controller public function store(OfficeRequest $request) { Office::create($request->all()); \Session::flash(‘flash_message’,’Office successfully added.’); //<–FLASH MESSAGE return redirect(‘offices’); } public function store(OfficeRequest $request) { Office::create($request->all()); \Session::flash(‘flash_message’,’Office successfully added.’); //<–FLASH MESSAGE […]