Hello.
I've added some routes :
map.news 'news', :controller => :News, :action =>:index
map.login 'login', :controller => :Login , :action =>:index
When I go to /news or /login before adding the routes, it works well.
When I add the routes and clik on the link that goes to /news or / login, I got a 500 internal error with this :
/!\ FAILSAFE /!\ Sun Jan 04 11:18:54 +0100 2009 Status: 500 Internal Server Error undefined method `camelize' for :News:Symbol c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/routing/route_set.rb:388:in `recognize' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:182:in `handle_request' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:110:in `dispatch_unlocked' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:123:in `dispatch' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:122:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:122:in `dispatch' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:132:in `dispatch_cgi' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:39:in `dispatch' c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../ lib/mongrel/rails.rb:76:in `process'
Any ideas ?
Thanks !