Add has_attachments to notification card JSON
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Alp Keser
parent
683547e310
commit
009e431ad8
@@ -11,6 +11,7 @@ json.cache! notification do
|
||||
json.card do
|
||||
json.(notification.card, :id, :number, :title, :status)
|
||||
json.board_name notification.card.board.name
|
||||
json.has_attachments notification.card.has_attachments?
|
||||
json.url card_url(notification.card)
|
||||
json.column notification.card.column, partial: "columns/column", as: :column if notification.card.column
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user