In routes, 'match' can't be used directly in the resource scope, it has to be used...
authorAugust Lilleaas <august.lilleaas@gmail.com>
Tue, 1 Jun 2010 19:27:40 +0000 (21:27 +0200)
committerAugust Lilleaas <august.lilleaas@gmail.com>
Tue, 1 Jun 2010 20:09:53 +0000 (22:09 +0200)
commit8686d1232b2a4dbf797d671f461a5a5540ccf73f
tree29aedae29b9b8860d1c72b5bc85246484466e046
parent6f031e7b3ece5761844c93f11c1e637ea4f90312
In routes, 'match' can't be used directly in the resource scope, it has to be used inside member or collection. That actually makes a whole lot of sense - you have to route from /myresources or /myresources/:id, anything else would be silly.
lib/gitorious/repository_routes.rb