Don't allow templateName in route.

[BUGFIX] templateName is a view's property, allowing people to specify
it in the route can lead to unexpected behavior as #3502.