#1 ✓resolved
Pat Nakajima

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

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.

New-ticket Create new ticket

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.

People watching this ticket

Pages