Convert from static to resource routing.