Tyler Knappe wrote: > heimdull wrote: >> I think the issue is that you have a general route to the checkout >> controller and then you have a map.checkout route that is after the >> map.resources :checkout route. so when you use checkout_path you will >> get the edit task and not the checkout "route" that you have setup... >> >> Try changing map.checkout to map.checkout-something-else and see if >> that fixes the issue... >> >> >> >> On Jun 17, 2:42�pm, Tyler Knappe <[email protected]> > > You were on the right track. What I had not realized was that > map.resources :controller generates the routes that I was seeing. I > moved my map.checkout action to the top of the list and it now properly > calls the checkout controller's update function!
I was mistaken, I had changed how the Labs update action behaved. I'm still having the same problem and I've changed all the routes around. -- 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 -~----------~----~----~----~------~----~------~--~---

