Fix url to use route path instead of url