app/Http/Controllers/TagController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Tag  $tag
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Tag $tag)
    {
        $data = [
          'tag'=>$tag
        ];
        return view('DashboardPage.Tags.index',compact('data'));
    }
public function edit ( Tag $ tag ) { $ data = [ 'tag' => $ tag ] ; return view ( 'DashboardPage.Tags.index' , compact ( 'data' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
//