[Rails] Broken record...

Charles Comstock dgtized at gmail.com
Sun Dec 5 06:37:19 GMT 2004


It goes to /todo/index, which is often a simple redirect to list ala:

def index
  redirect_to :action => "list"
end

Charles Comstock

On Sat, 4 Dec 2004 23:48:04 -0500, Nicholas Van Weerdenburg
<vanweerd at gmail.com> wrote:
> Actions and views need to be matched. if you have a "list" method, you
> neeed a list.rhtml, and vice versa.
> 
> I'm not sure about the root /todo mapping.
> 
> Regards,
> Nick
>


More information about the Rails mailing list