I think I've been bitten by this as well. The Slices are still waiting
for review for 1.1 release. There are some issues with it on 1.9.1 as
well.

I think I just used slice_url(:controller => 'xy', :action => 'xy')
manually. Please feel free to post this to the LH for slices. I'll
look at it when I'm doing the Slices review for 1.1

Pavel

On Oct 27, 10:22 am, Chris <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to