rails/journey — Issue #20: 1.0.2 confusing show and index
Author: JohnColvin
Created: 2012-02-21 19:19:30+00:00
State: open

I upgraded to 1.0.2 and an index path of mine (localhost:3000/students) was giving this error:

No route matches {:action=>"show", :controller=>"students"}

I went back to 1.0.1 and it went back to working.

Here's the students section of my routes file:

resources :students, :only => [:show, :index] do
resources :enrollments, :only => [:index, :create, :destroy, :new]
resources :advisorships, :only => [:index]
resources :questionnaires, :only => [:index]
resources :assessments, :only => [:index], :path => 'tests', :as => 'tests'
resources :test_attempts, :only => [:create, :new, :destroy], :path => 'tests'
resources :breadth_requirements, :only => [:index, :destroy, :new, :create, :update], :path => 'breadth'
end