Merge pull request #1565 from basecamp/card-tags-problems
Fix: stale data when opening the tags and assignees selectors in the card perma
This commit is contained in:
@@ -3,7 +3,7 @@ class Cards::AssignmentsController < ApplicationController
|
||||
|
||||
def new
|
||||
@users = @board.users.active.alphabetically
|
||||
fresh_when @users
|
||||
fresh_when etag: [ @users, @card.assignees ]
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user