Women in Technology

Hear us Roar

  Rolling with Ruby on Rails
Subject:   Quick Issue
Date:   2005-12-13 23:51:08
From:   valiantsoul
Everything worked great! Except after adding list, index no longer worked. Quick fix was to do a 'ln -s list.rhtml index.rhtml' where list.rhtml lies.
Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Quick Issue
    2006-03-07 12:24:05  VineetBansal [View]

    I had the same problem - a more elegant way to solve this, that I figured out after looking at the auto-generated scaffolding code, is to handle the 'index' action like this:

    def index
    render :action => 'list'