This lesson covered some basic steps in displaying different flash message styles in your Laravel 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

    return redirect('offices');
}

\Session::flash(“name_of_your_flash”, “message_to_display”) is a method used by Laravel to store your message. Add this inside any function in your Controller, where you want to display a Flash. Make sure you place your session after the save/create method.