Resources can only be nested one level
Reported by Pat Nakajima | January 31st, 2009 @ 06:10 PM
When nesting resources, this works:
mount Article do
mount Comment
end
But this does not:
mount Article do
mount Comment do
mount Reply
end
end
It generates incorrect resource paths. Here's the failing test case: http://github.com/nakajima/sinat....
Comments and changes to this ticket
-
Pat Nakajima February 3rd, 2009 @ 06:39 AM
- Assigned user set to Pat Nakajima
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mount models as web services in Sinatra with ease.