Report abuse

This configuration breaks the Upcoming Stories page...

ActionController::Routing::Routes.draw do |map|
  map.resources :stories, :has_many => :votes, :collection => { :bin => :get }

  map.root :controller => "stories"

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
  map.resource :session
end

This configuration breaks the Login page (/session/new)

ActionController::Routing::Routes.draw do |map|
  map.resource :session
  map.resources :stories, :has_many => :votes, :collection => { :bin => :get }

  map.root :controller => "stories"

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end