routing issue

Hi all,

just migrated from rails 2.2 to 2.3

I'm using a route that's defined like this;

map.browse '/browse/:by/:type/:id', :controller => "site", :action =>
"browse", :by => "all", :type => "list"

When I call the "browse_path" in rails 2.3 it renders;

/browse///

Which of course fails to map to my controller.

Any suggestions?

Thanks,

Stijn

Additionaly: when I use browse_path(nil) it renders out just fine...

Additionaly: when I use browse_path(nil) it renders out just fine...

Trying turning off routing optimisations in environment.rb:

config.action_controller..optimise_named_routes = false