Found the answer (feel free to repost and I'll accept :P)
Creating polymorphic links is easy using "polymorphic routes".
You can easily generate the proper link using polymorphic_url([@top_resource, @next_level_resource])
in any view.
For example:
polymorphic_url([:admin, @article, @comment])
becomes admin_article_comment_url(@article, @comment)
.
Another example without the leading :admin
:
polymorphic_url([@article, @comment])
becomes article_comment_url(@article, @comment)
.