If I do something like this:
api.resources 'collections', (collection) ->
collection.resources 'links', controller: 'collectionLinks'
I wish to access the name of the resource (that is, "links"/"link") from the collectionLinks resource.
The callback receives the controllerName and there is no way to access the name of the resource.
Was introduced by this commit: d8c3ee3 Maybe @1602 knows...
Test case to demonstrate resources->controller feature, closes #23