fixes #1827: use ids instead of names for templates routes