Re: model-controller-paradigm: What about admin controllers?

Joshua Muheim
Sat, 16 Dec 2006 11:12:24 -0000

> app/
> --admin/
> ----posts_controller.rb        <= for administration
> ----comments_controller.rb
> --post_controller.rb           <= public facing
> --comments controller

So they are called like this?

PostsAdminController
CommentsAdminController
PostsController
AdminController

Right? Is there no problem for Rails to find the admin controllers? Do I
have to adjust the path var or something?