Can't get link_to to work


I have the following in a view:

link_to(‘Change’, :controller => ‘sales_order’, :action =>
‘assign_difficulty’, :id =>

I have this in my sales_order_controller:

def assign_difficulty
# some code here…

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

What am I doing wrong here?

Thanks for your help,


Never mind, I found a stinking typo

Sorry about that!