Given this in routes.rb (plus more):

map.resources :sites do |site|
   map.resources :forums, :as => :boards do |board|
     board.resources :topics
   end
end

And then attempting to go to http://localhost:3000/sites/mocra/boards/1/topics 
  will result in the "1" after "boards" being passed in not as  
params[:board_id] but as params[:forum_id].

  I think this behaviour is backwards, does anyone agree with this  
before I go about writing a patch?

-----
Ryan Bigg
Mocra - Premier iPhone and Ruby on Rails Consultants
w - http://mocra.com
e - [email protected]
p - +61 432 937 289 or +61 7 3102 3237
skype - radarlistener









--~--~---------~--~----~------------~-------~--~----~
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