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