In normal case, I could, for example, set a controller named "admin" to manipulate model "product" by putting a line of code "scaffold :product" in controller -admin. However, I tried "scaffold_resource" to generate a RESTful model "product", how can I set controller "admin" to remain controlling this RESTful model "product" ? If I did the same as normal "scaffold :product" in controller -admin, the link from "admin" controller still uses "action" - show, delete, edit, e.g. "http:// localhost:3000/admin/edit/1" rather than "http://localhost:3000/admin/ 1;edit". Any simple command could generate a controller "admin" to manipulate RESTful "product" to meet my needs? Thanks! MyST_tt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---