How to send data using redirect with Laravel
问题 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) page, that doesn't required the pop up api to fire. but in some special cases, I need the pop up to be fired. Here is my code, ** this code is just to illustrate my point, not an actual working code** public function store(){ validating the input saving them $id = get the id return Redirect::route('clients.show, $id') } and in the show function I