uodated routes to be handled by rails in a dynamic fashion