seo: prevent crawlers from crawling /posts/:id/favorites.

This commit is contained in:
evazion
2021-12-10 01:46:01 -06:00
parent 4021ddb579
commit bf022e858a
5 changed files with 7 additions and 2 deletions
@@ -8,7 +8,7 @@
<% end %>
<span class="post-score">
<%= link_to post.score, post_votes_path(search: { post_id: post.id }, variant: :compact) %>
<%= link_to post.score, post_votes_path(search: { post_id: post.id }, variant: :compact), rel: "nofollow" %>
</span>
<% if current_user.is_anonymous? %>