Ajax on Rails
Subject:   Def index...needed?
Date:   2006-07-31 11:41:07
From:   Damaris
In the first page you add a

def index

to tell the controller you have your own index view. I guess you don't need that. Rails tests always if it can render an index.rhtml of the user when you type /demo/index before rendering its own view templates.
(I think this answers my own question posted in
I have tested and it works with the def index.