Scaffold issue

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/

Any simple command could generate a controller "admin" to

manipulate RESTful “product” to meet my needs?