Use routes object rather than hard-coded paths