mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 10:24:39 +08:00
FEATURE: add noindex header to badges, groups, and /my pages (#9736)
This commit is contained in:
@ -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|
|
||||
|
Reference in New Issue
Block a user