diff --git a/app/helpers/communities_helper.rb b/app/helpers/communities_helper.rb index bb770a948..22bc76617 100644 --- a/app/helpers/communities_helper.rb +++ b/app/helpers/communities_helper.rb @@ -12,7 +12,7 @@ module CommunitiesHelper community.from_proposal? ? t("community.show.description.proposal") : t("community.show.description.investment") end - def is_author?(community, participant) + def author?(community, participant) if community.from_proposal? community.proposal.author_id == participant.id else diff --git a/app/views/communities/_participant.html.erb b/app/views/communities/_participant.html.erb index 5e4f02900..91f991383 100644 --- a/app/views/communities/_participant.html.erb +++ b/app/views/communities/_participant.html.erb @@ -9,7 +9,7 @@ <%= link_to participant.name, user_path(participant)%> - <% if is_author?(@community, participant) %> + <% if author?(@community, participant) %>  •  <%= t("comments.comment.author") %>