Controller & Multiple Models (And a self-referencing mod

Not entirely sure I have a good grasp on your question, but here goes.

First up, yes you can access any model from any controller. Controllers tend to span models in producing and manipulating data for the view.

If you’re talking about creating controllers for each model under a common admin entry point, you can do that

script/generate controller admin/Usercontroller

script/generate controller admin/Itemcontroller

and so on

try it in a test project and you’ll see what I mean.

Hope that helps?!

PGP.sig (186 Bytes)