I'm currently using map.namespace to set the name_prefix to "admin/". Doing this appears to break polymorphic_url (and thus form_for, url_for, etc) as it isn't taking name_prefix into account. Quick hack would be to allow polymorphic_url to accept a namespace or name_prefix argument. Does anyone else have any better ideas to make this work?
Josh -- Josh Knowles [EMAIL PROTECTED] http://joshknowles.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
