Good notes posted by GhandaL
RSS feed
5 thanks
polymorphic_url and namespaces and nested resources
You can use polymorphic_url with namespaces and nested resources using array as parameter:
polymorphic_url([:admin, @post])
will return:
admin_post_url(@post)