Hi, I wanted to keep the restful way, but see if was possible to just edit show as I'm not using it for person. but if it is only possible by using the old routing method, then I guess it is not what I want.
thank you Ar Chron wrote: > Run a > > rake routes >routes.lst > > then look at the routes.lst file. This wil show you all the routes that > mapping a resource generates for you by default. > > What you're trying to do is alter the default behavior of restful > routing. Your desired edit route is the default routing for show. If > you override that, then you have to provide an alternative for the show > method. > > If this is a pervasive desire that you simply *must* have, then I'd > suggest forgoing the restful routes in general, and dropping back to the > old routing method. > > Get rid of the resource mapping, and "roll your own" routes. But the > nice thing about restful routes is the notion of programming by > convention -- 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 -~----------~----~----~----~------~----~------~--~---

