Merge pull request #1228 from basecamp/caching-watchers
Fix: watchers list not updating due to caching
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Access < ApplicationRecord
|
||||
belongs_to :collection
|
||||
belongs_to :collection, touch: true
|
||||
belongs_to :user, touch: true
|
||||
|
||||
enum :involvement, %i[ access_only watching ].index_by(&:itself), default: :access_only
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% cache [ page.records ] do %>
|
||||
<% cache [ collection, page.records ] do %>
|
||||
<section id="the-stream" class="cards cards--considering"
|
||||
data-drag-and-drop-target="container"
|
||||
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle"
|
||||
|
||||
Reference in New Issue
Block a user