should have used resource rather than route. Fixed it!