rails.nerd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2010-Feb-18 21:00 UTC
restful route paths... has something changed?
So I have this resources :forums do resources :topics end But when I try to do this: <%= forum_topics_path(1, 2) %> I get: /forums/1/topics.2 Why the dot? Expecting a slash This is rails3.. so maybe I am doing it wrong to what I''m used to cheers for any info! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rails.nerd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2010-Feb-18 21:03 UTC
Re: restful route paths... has something changed?
Oh just worked it it out Should be using "forum_topic_path" sorry for the spam -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.