What is the typical format/structure for creating an administrative area in a Rails application?
Specifically I am stumped in the vicinity of these topics:
- How do you deal with situations where a model's resources are available to both the public and the Admin? i.e. A User model where anyone can create users, login, etc but only the admin can view users, delete/update them, etc.
- What is the proper convention for routing?
- How does one structure controllers?
- Are duplicate controllers considered OK? i.e. An admin version and the non-admin version?
Thank you!