Use correct Predicate name on function

This commit is contained in:
Bertocq
2017-09-14 23:17:41 +02:00
parent 6082147571
commit c5671ed462
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<%= link_to participant.name, user_path(participant)%>
</span>
<% if is_author?(@community, participant) %>
<% if author?(@community, participant) %>
&nbsp;&bull;&nbsp;
<span class="label round is-author">
<%= t("comments.comment.author") %>