pass :id to points index