Ok,
I have the following in a view:
link_to(''Change'', :controller =>
''sales_order'', :action =>
''assign_difficulty'', :id => @sales_order.id)
I have this in my sales_order_controller:
def assign_difficulty
# some code here.....
end
Yet, when I click the link in my browser, I get the following error:
no route found to match "/sales_order/assign_difficulty/773332" with
{:method=>:get}
What am I doing wrong here?
Thanks for your help,
Jason
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---