From 3a9af623efdab390451652dc474e8231cc719130 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 30 Oct 2025 15:54:54 +0100 Subject: [PATCH] Leave etag as it was --- app/controllers/collections/columns/closeds_controller.rb | 2 +- app/controllers/collections/columns/not_nows_controller.rb | 2 +- app/controllers/collections/columns/streams_controller.rb | 2 +- app/controllers/collections/columns_controller.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/collections/columns/closeds_controller.rb b/app/controllers/collections/columns/closeds_controller.rb index af78c1e25..b5bf35953 100644 --- a/app/controllers/collections/columns/closeds_controller.rb +++ b/app/controllers/collections/columns/closeds_controller.rb @@ -3,6 +3,6 @@ class Collections::Columns::ClosedsController < ApplicationController def show set_page_and_extract_portion_from @collection.cards.closed.recently_closed_first - fresh_when @page.records + fresh_when etag: @page.records end end diff --git a/app/controllers/collections/columns/not_nows_controller.rb b/app/controllers/collections/columns/not_nows_controller.rb index aacb7186f..4c1a6796b 100644 --- a/app/controllers/collections/columns/not_nows_controller.rb +++ b/app/controllers/collections/columns/not_nows_controller.rb @@ -3,6 +3,6 @@ class Collections::Columns::NotNowsController < ApplicationController def show set_page_and_extract_portion_from @collection.cards.postponed.reverse_chronologically.with_golden_first - fresh_when @page.records + fresh_when etag: @page.records end end diff --git a/app/controllers/collections/columns/streams_controller.rb b/app/controllers/collections/columns/streams_controller.rb index 8eb7da7da..331702a92 100644 --- a/app/controllers/collections/columns/streams_controller.rb +++ b/app/controllers/collections/columns/streams_controller.rb @@ -3,6 +3,6 @@ class Collections::Columns::StreamsController < ApplicationController def show set_page_and_extract_portion_from @collection.cards.awaiting_triage.by_last_activity.with_golden_first - fresh_when @page.records + fresh_when etag: @page.records end end diff --git a/app/controllers/collections/columns_controller.rb b/app/controllers/collections/columns_controller.rb index 95af8ac34..7cd910f01 100644 --- a/app/controllers/collections/columns_controller.rb +++ b/app/controllers/collections/columns_controller.rb @@ -5,7 +5,7 @@ class Collections::ColumnsController < ApplicationController def show set_page_and_extract_portion_from @column.cards.active.by_last_activity.with_golden_first - fresh_when @page.records + fresh_when etag: @page.records end def create