public function index($category_id =0)
{
$articles = Article::with('getCategory')->where('category_id',$category_id)->paginate(1);
return $this->paginator($articles, new ArticleTransformer(), function ($resource, $fractal) {
$fractal->setSerializer(new ArticleSerializer());
});
}