Hello, I'm working with Laravel , and in my Routes file, I'd like to leave a variable I want to use on all routes, like this:
/routes/web.php
$foo = "ola mundo";
Route::get('/', function () {
return view('page1', ["title" =>...
asked by
03.10.2017 / 14:37