call controller funcation varible to view laravel code example
Example: laravel routes return view in web.php
Route::get("/page", function(){
return View::make("dir.page");
});
Route::get("/page", function(){
return View::make("dir.page");
});