public function index()
    {
        // $options = $this->getParams('offset', 'limit', 'includes', 'order_by');

        $categories = Subbly::api('subbly.category')->all();

        return $this->jsonResponse(array(
            'categories' => $this->presenter->collection($categories),
        ));
        // return $this->jsonCollectionResponse(array(
        //     'categories' => $this->presenter->collection($categories)
        // ));
    }