search for: send_messages_path

Displaying 1 result from an estimated 1 matches for "send_messages_path".

2007 Jun 12
3
REST Routing issue
If I use http://0.0.0.0:3000/users/25/messages/new I can create a new message ressource for user 25 that''s OK.... I would like to be able to use such url : http://0.0.0.0:3000/users/25/messages;send?to=5 in order to create a new message from user 25 for a specific receiver how should write my route ? I tried.... map.resources :users do |users| users.resources :messages,