I developed an API to show a pop up message when the page loaded.
Not all the pages use the pop up API. For example, if the user go to the show($id) pag
show($id)
In store()
return Redirect::route('clients.show, $id')->with( ['data' => $data] );
and in show() read it with
show()
Session::get('data');