fixes specs
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user