Default task broadcast

This commit is contained in:
2025-11-03 00:38:57 +02:00
parent 1c644c6385
commit 7839a58464
3 changed files with 18 additions and 16 deletions
+2
View File
@@ -10,6 +10,8 @@ class Task < ApplicationRecord
has_rich_text :description
broadcasts_to ->(task) { [task.project, :tasks] }, template: 'tasks/_table_row'
def to_param
return full_number if association(:project).loaded?