Routing works with templates