Correct routing for lines/{index/:id}

Doing it the ember way