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