Hi,

I was wondering if you guys could help me out.

i have a link_to url like so:
discard_contents(current_project, :to_project_id => params[:id])
# =>
http://localhost:3000/projects/1163131/discard_contents?to_project_id=1121802


but I keep getting this "No action responded to 1163131" error

I am guessing it's some issue with my routing configuration, but I'm not
seeing it..

#from routes.rb

map.resources :projects, :member => { ... :move_or_discard_contents =>
:any, :move_contents => :post, :discard_contents => :post }, :collection
=> { ... } do |project|

end


/projects/discard_contents/1163131?to_project_id=1121802 works.

any ideas?
-- 
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 [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