Hi guys. I'm trying to get rid of some non-existing routes. My
UserSessionsController has three methods: new, create, and destroy.
However, in routes.rb , I'm generating the 7 RESTful routes:
  map.resource :user_session

So, I thought that this would generate routes for the 3 actions that
do exist:
  map.resource :user_session, :only => [:new, :create, :destroy]

However, after adding that, ``rake routes'' still spits out the other
4 routes:
  http://rafb.net/p/kRS3DD41.html

Any idea what's going on here? Thanks,
Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to