Added special method to convert routes into the urls on frontend