public function showCategory(DocumentCategory $category)
    {
        $documents = $category->documents;

        return $this->showDocumentable($category, $documents);
    }
public function showCategory(DocumentCategory $category)
    {
        $documents = $category->documents;

        return $this->showDocumentable($category, $documents);
    }
public function showCategory ( DocumentCategory $ category ) { $ documents = $ category -> documents ; return $ this -> showDocumentable ( $ category , $ documents ) ; }
Show the category's documents
@param DocumentCategory $category
@return mixed
Show the category s documents