What about adding different actions to it (e.g. privacy, account, 
userdata)?

I do have that right now in routes:

map.resources :users, :member => { :enable => :put } do |users|
    users.resources :roles
    users.resources :photos, :name_prefix => 'user_', :controller => 
'user_photos'
    users.resources :friends
    users.resources :gardens
  end

means adding: { :enable => :put, :privacy => :get, :account => :get, 
:userdata => :get }

and then I create a new view for the depending actions?

What about calling a GET? Isn't the update a PUT? Which of those to take 
care about?

Being perfect the URL should look like 
"http://localhost:3000/users/7/privacy";
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
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