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!

Oh just worked it it out

Should be using “forum_topic_path”

sorry for the spam

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs