Ruby WTF

_<%= link\_to comment.comment, polymorphic\_path(comment.commentable\_type.capitalize.constantize.find(comment.commentable\_id)) %>_

I just wrote this line in Ruby. It makes my head swim a little.

Surely there is a better way of doing this, but I don’t know it.