I have Comment as a polymorphic model.
It is attached to Post, Review, etc.
I also have an action in CommentsController, called test.
test
I
I decided to just use an if statement in the view, based on if the current action was present, such as if @post or if @review