apiguy/flask-classy — pull request #5 by jeverling (2012-11-08 22:04:07+00:00)
Title: Only append index to route_name if there is more than one route

I'm actually undecided myself if this is a good idea.
On one hand, if you only define one route, there is no need for the index, and the index did catch me out because I wasn't aware at first that I had to append '_0' to the endpoint when using url_for.
On the other hand, maybe it's best to always attach an index for custom routes. Otherwise, a URL lookup that previously did work may stop working when an additional route is added.