Well I've gotten as far as seeing that it does work from outside the slice (as in: the slice mounted for testing, generating urls for spec requests), but not from within the slice (say, in a controller). It simply seems not to know anything about a resource. Maybe it's a bug?
2009/10/27 Chris <[email protected]> > Bump > > Anyone? > > 2009/10/25 Chris Hoeppner <[email protected]> > > Say I've got: >> >> scope.resources :foobars >> >> in the router block, how do I generate resource urls in a slice >> controller? >> >> slice_url(:foobars) >> slice_url(:foobar_slice_foobars) >> url(:foobars) >> ... etc >> >> I've tried all of the above and some more, with no success. >> > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
