One controller, multiple scaffolds?

I’m currently working on a Rails project and I want to have a very
simple administrative back end. All I need to do is create a scaffold
for several database tables. For example, I want the user to be able to
add/edit/delete both Events and Announcements. Is there a way to do this
from a single controller or can I only have one scaffold per controller?

Speaking of which, this brings up a larger issue I’ve been thinking
about. When is it appropriate to create a new controller? As of right
now, I’m thinking my application will only have two: one for the front
facing content and one for the administrative back end.

Any help is much appreciated,
Drew

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs