public function edit(CategoryRequest $request, Category $category)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('faq::category.name'))
            ->view('faq::category.edit', true)
            ->data(compact('category'))
            ->output();
    }
public function edit(CategoryRequest $request, Category $category)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('faq::category.name'))
            ->view('faq::category.edit', true)
            ->data(compact('category'))
            ->output();
    }
public function edit ( CategoryRequest $ request , Category $ category ) { return $ this -> response -> title ( trans ( 'app.edit' ) . ' ' . trans ( 'faq::category.name' ) ) -> view ( 'faq::category.edit' , true ) -> data ( compact ( 'category' ) ) -> output ( ) ; }
Show category for editing.

@param Request $request
@param Model   $category

@return Response
Show category for editing .