def index
      @directories = Cmtool::Directory.roots

      respond_to do |format|
        format.html # index.html.erb
        format.xml  { render :xml => @directories }
      end
    end
def index
      @directories = Cmtool::Directory.roots

      respond_to do |format|
        format.html # index.html.erb
        format.xml  { render :xml => @directories }
      end
    end
GET /directories
 GET /directories.xml