I want to do a control panel for my admin section but I’m not sure of the best way to do it.
now I have several controllers ‘post’, ‘articles’,‘comments’ etc… And
I would like to manage them from a page where the user could click on
Posts and get an create edit destroy interface. What I’m thinking of is
creating an admin controller and a view /admin/index.rhtml and inside
of that page put a menu with Posts, Articles, Comments etc and when the
admin click on eg Posts, it display a partial _admin_posts.rhtml that
comes from views/posts/_admin_posts.rhtml .
Is this the best way to do so or is there a better way?
thanx in advance