app/Http/Controllers/Sub.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $kategori = ModelKontak::all(); 
        return view('sub_create',compact('kategori'));
    }
public function create ( ) { $ kategori = ModelKontak :: all ( ) ; return view ( 'sub_create' , compact ( 'kategori' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .