Updated. Currently mixing route params with strings to construct the url. Seems inelegant.