I have a case where my production server is not handling the routes
properly (mongrel)
Webrick handles them fine locally, and I also tested with mongrel
locally and it works as well.
I have a link to /admin/orders/list and it says 500 error.
If I browser to /admin/orders/edit/2 I can edit the order entry.
any idea what change I need to make here? Its looking for “orders”
method in admin_controller.rb, when it should be looking for “list” in
./admin/orders_controller.rb
instead of a file named ‘wsdl’
map.connect ‘:controller/service.wsdl’, :action => ‘wsdl’
Install the default route as the lowest priority.
map.connect ‘:controller/:action/:id.:format’
map.connect ‘:controller/:action/:id’
map.connect ‘:controller/:action.:format’
map.connect ‘:controller.:format’
–
Anthony E.
408-656-2473
http://anthony.ettinger.name