Polymorphic url_for's and namespaces

I've found that when using url_for with an array of objects, namespaces in your routes aren't taken into consideration when determine the named route to use.

For example, I could have my routes as:

I think this is user error...

url_for([:admin, @site, @page]) ought to work...

Sujal