app/Http/Controllers/TagController.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()
    {
        $list_berita = Tag::all()->pluck('nama_kategori','id');
        return view('tag.create',compact('list_berita'));
    }
public function create ( ) { $ list_berita = Tag :: all ( ) -> pluck ( 'nama_kategori' , 'id' ) ; return view ( 'tag.create' , compact ( 'list_berita' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .