Hi. I have a problem in restful routing. My project is a discussion
The route is
map.resources :forums do |forum|
forum.resources :topics do |topic|
Everything in the code I wrote are working good.
An example url for a show action of a forum post would be
Now if i replace 90 by 200, I get the post with id 200 which doesn’t
belong to topic id 4.
How can i prevent this?