> Are you saying that if I have a map.resource :session that this should map
> to a plural SessionsController, as opposed to SessionController?

The rationale for this is consistency.  Here's a case where you would
want it to be plural:

# /avatars, AvatarsController
map.resources :avatars

# /users/1/avatar, AvatarsController
map.resources :users do |user|
  user.resource :avatar
end

-- 
Rick Olson
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

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