Control panel structure

hey all,
I want to do a control panel for my admin section but I’m not sure of
best way to do it.
Right now I have several controllers ‘post’, ‘articles’,‘comments’
And I would like to manage them from a page where the user could click
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
click on eg Posts, it display a partial _admin_posts.rhtml that comes
views/posts/_admin_posts.rhtml .

Is this the best way to do so or is there a better way?

thanx in advance


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