예제 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //
     $continents = Continent::all();
     echo 'hi';
     dd($continents);
 }
 public function index()
 {
     $continents = Continent::all();
     return view('continents.index', compact('continents'));
 }