Register dynamic routes outside of config