From 305b94f3a0c70b1c91fd7e225160fa0dde6e2778 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Sat, 7 Dec 2024 17:53:47 +0100 Subject: [PATCH] when we active cache it should be private --- app/controllers/discourse_rewind/rewinds_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/discourse_rewind/rewinds_controller.rb b/app/controllers/discourse_rewind/rewinds_controller.rb index e6d4cb6..15cf132 100644 --- a/app/controllers/discourse_rewind/rewinds_controller.rb +++ b/app/controllers/discourse_rewind/rewinds_controller.rb @@ -7,7 +7,7 @@ module ::DiscourseRewind skip_before_action :preload_json, :check_xhr, :redirect_to_login_if_required, only: %i[show] def show - # expires_in 1.minute, public: true + # expires_in 1.minute, public: false response.headers["X-Robots-Tag"] = "noindex" render "show", layout: false