public function update(DocumentCategory $category)
    {
        $attributes = request()->validate(DocumentCategory::$rules, DocumentCategory::$messages);

        $category = $this->updateEntry($category, $attributes);

        return redirect_to_resource();
    }
public function update(DocumentCategory $category)
    {
        $attributes = request()->validate(DocumentCategory::$rules, DocumentCategory::$messages);

        $category = $this->updateEntry($category, $attributes);

        return redirect_to_resource();
    }
public function update ( DocumentCategory $ category ) { $ attributes = request ( ) -> validate ( DocumentCategory :: $ rules , DocumentCategory :: $ messages ) ; $ category = $ this -> updateEntry ( $ category , $ attributes ) ; return redirect_to_resource ( ) ; }
Update the specified document_category in storage.

@param DocumentCategory $category
@return Response
Update the specified document_category in storage .