app/Http/Controllers/HewanController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $hewan = \App\Models\Hewan::All();
        return view('hewan0217', ['hewan' => $hewan]);
    }
public function index ( ) { $ hewan = \ App \ Models \ Hewan :: All ( ) ; return view ( 'hewan0217' , [ 'hewan' => $ hewan ] ) ; }
Display a listing of the resource.
Display a listing of the resource .