/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $input = Input::get('filter');
     if (!$input) {
         $roots = Root::get();
         return $this->res->collection($roots)->send();
     }
     $roots = Root::find(explode(',', $input['id']));
     return $this->res->collection($roots)->send();
 }