FEATURE: add noindex header to badges, groups, and /my pages (#9736)

This commit is contained in:
Joshua Rosenfeld
2020-05-11 01:05:42 -04:00
committed by GitHub
parent 29842e682b
commit 07b728c5e5
6 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,7 @@ class GroupsController < ApplicationController
skip_before_action :preload_json, :check_xhr, only: [:posts_feed, :mentions_feed]
skip_before_action :check_xhr, only: [:show]
after_action :add_noindex_header
TYPE_FILTERS = {
my: Proc.new { |groups, user|