public function store(ClientRequest $request) { Client::create($request->all()); //AFTER the row is added, get the last record to pass to the next page. $client = Client::latest()->first(); \Session::flash('flash_message', 'Client ' . $client->first_name . ' ' . $client->last_name . ' was created.'); return redirect('clients'); }