fixes specs

This commit is contained in:
rgarcia
2017-10-10 12:47:09 +02:00
parent 843048a861
commit ffdbdacc78

View File

@@ -1,7 +1,7 @@
<div class="row">
<div class="small-12 column margin-top">
<%= back_link_to commentable_path(@comment),
t("comments.show.return_to_commentable") + @comment.commentable.title unless @comment != "Poll" %>
t("comments.show.return_to_commentable") + @comment.commentable.title unless @commentable.class == Poll %>
</div>
</div>