Skip to content
atalargo edited this page Sep 14, 2010 · 1 revision

The admin interface requires that you use an admin namespace subdirectory (app/controller/admin/) and you must provide an Admin::ApplicationController base contoller class

The admin interface view is construct to be integrate in one of your admin interface page, so :

  • if you use embedded_action plugin ( http://github.com/sd/embedded-actions ) include the line :
    <%= embed_action :controller => “admin/server_state”, :action => “index” %>
  • if you use other similar plugin (Cell, etc) : follow the rules of your plugin for this -may be in futur, server_state plugin will provide laready write class for Cell Component http://cells.rubyforge.org/ or other if there is some people that query it.
  • if you use ActiveScaffold and if your Admin::ApplicationController active ActiveScaffold for all, you can try to use directly the provided controller, that could be workds too.
  • if you provide nothing, you cold always directly go to page /admin/server_state a very basic render is provided

Clone this wiki locally