get return view laravel code example
Example 1: return view with variable laravel
return View::make('blog')->with('posts', $posts);
Example 2: laravel return view in web.php
Route::get("/page", function(){
return View::make("dir.page");
});
return View::make('blog')->with('posts', $posts);
Route::get("/page", function(){
return View::make("dir.page");
});