search for: forum_topics_path

Displaying 2 results from an estimated 2 matches for "forum_topics_path".

2010 Feb 18
1
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...
2008 Jul 20
2
Filtering results through URL (e.g. new?forum_id=3)
Is there a special code you have to place in the routes so filtering results through the URL works? For example, Ruby Forum does it with: http://www.ruby-forum.com/topic/new?forum_id=3 http://www.ruby-forum.com/topic/new?forum_id=5 http://www.ruby-forum.com/topic/new?forum_id=7 etc. Any ideas? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You