Stuff to generate routes in view