diff --git a/app/components/post_votes_component/post_votes_component.html.erb b/app/components/post_votes_component/post_votes_component.html.erb index 89b84247d..76fafdc90 100644 --- a/app/components/post_votes_component/post_votes_component.html.erb +++ b/app/components/post_votes_component/post_votes_component.html.erb @@ -8,7 +8,7 @@ <% end %> - <%= 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" %> <% if current_user.is_anonymous? %> diff --git a/app/views/favorites/index.html.erb b/app/views/favorites/index.html.erb index d25e903b4..b460f2ec1 100644 --- a/app/views/favorites/index.html.erb +++ b/app/views/favorites/index.html.erb @@ -1,3 +1,5 @@ +<% noindex %> +