mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
SiteSetting.hide_user_profiles_from_public raises a Forbidden, which disallows our after_action: add no index header from triggering. This fix makes sure that the no index header gets added via before_action instead