app/Http/Controllers/CategoryGroupController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\CategoryGroup  $categoryGroup
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(CategoryGroup $categorygroup)
    {
        $categorygroup = CategoryGroup::find($categorygroup->id);
        return view('references.c4s.categorygroup.edit',compact('categorygroup'));
    }
public function edit ( CategoryGroup $ categorygroup ) { $ categorygroup = CategoryGroup :: find ( $ categorygroup -> id ) ; return view ( 'references.c4s.categorygroup.edit' , compact ( 'categorygroup' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .