routes url taken out of view