Rick,

That was my mistake.  Appointment object was recently split into two 
objects...and the closing is the one we need to have cancelable now.   I 
copied my link to from an old view that's not actually being used (my 
mistake...sorry for the confusion).

So..the link I'm actually trying to get working is:

<%= link_to 'Cancel', cancel_closing_path(closing), :confirm => 'Are you 
sure?' %>

So

Rick wrote:
> David,
> 
> Your link_to has a cancel_appointment_path but your routes are all
> cancel_closing variants.  Do you have any routes in place for the
> appointments_controller?
> 
> Rick
> 
> On Jan 21, 7:16�am, David Colwell <[email protected]>

-- 
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