Hi..

I believe we are now prefixing the parent resource to the named route,
so it will be workshop_sessions_path(@workshop, @sessions).

-Shane

On 6/6/07, James Adam <[EMAIL PROTECTED]> wrote:
>
>   2. infer the named route method based on that object's class, and
> then pass the array as arguments to that array. So, what ends up being
> called is
>
>     sessions_path(@workshop, @session)
>
>   which is the correct URL for this resource.


-- 
http://shanesbrain.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to