polymorphic_url function does not work with namespaced nested resources.
See full issue here: http://stackoverflow.com/questions/20650846/nested-namespaced-resources-polymorphic-associations-and-paths
includes the place where the fix should likely occur.