title: Cherrypy index dispatcher not like defined
body: <p>This is my first outing with CherryPy so forgive any stupidity.</p>
  
  <p>I'm trying to write a RESTful API that in part deals with adding/removing people.  I want to be able to GET/PUT/DELETE example.com/people/.</p>
  
  <p>The dispatcher seems to be behaving totally differently for the index method vs a defined function:</p>
  
  <pre><code>class people:
      """This is the class for CherryPy that deals with CRUD on people"""
      @cherrypy.expose
      def index(self, name):
          return name
  
      @cherrypy.expose
      def who(self, name):
          return name
  
  root = webroot()
  root.people = people()
  cherrypy.quickstart(root)
  </code></pre>
  
  <p>If I call example.com/people/tom, I get a 404, if I call example.com/people/who/tom I get 'tom' returned.</p>
  
  <p>Can anyone see what I'm doing wrong?  Is there a way I can pass /xxx to index?</p>