Fix: invalidate http cache when selecting tags

This commit is contained in:
Jorge Manrubia
2025-11-12 11:12:18 +01:00
parent 5e8f35b6c0
commit d36011dcbf
+1 -1
View File
@@ -3,7 +3,7 @@ class Cards::TaggingsController < ApplicationController
def new
@tags = Tag.all.alphabetically
fresh_when @tags
fresh_when etag: [ @tags, @card.tags ]
end
def create