Adds route to generator