/**
  * Resource list
  * @return Respanse
  */
 public function category($category_id)
 {
     $product = $this->model->where('category_id', $category_id)->orderBy('created_at', 'desc')->paginate(6);
     $categories = ProductCategories::orderBy('sort_order')->get();
     $current_category = ProductCategories::where('id', $category_id)->first();
     return View::make('product.category')->with(compact('product', 'categories', 'category_id', 'current_category'));
 }