From 20c735b0c5a2db9b8984848253ad99332d6211a8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 9 Aug 2026 03:33:55 +0200 Subject: Attach assets to the draft instead of to every lifecycle row Node#attach_asset! writes to the node's draft alone, creating one from the head when none is pending. It refuses when another user holds the lock, and when an autosave already exists The asset_attach verb goes with it. create_new_draft names the editor on the draft it creates and the publish entry's asset delta reports the attachment. --- app/helpers/node_actions_helper.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/node_actions_helper.rb b/app/helpers/node_actions_helper.rb index f21fee61..960e28b3 100644 --- a/app/helpers/node_actions_helper.rb +++ b/app/helpers/node_actions_helper.rb @@ -14,7 +14,6 @@ module NodeActionsHelper "discard_autosave" => "eraser", "destroy_draft" => "eraser", "asset_create" => "upload", - "asset_attach" => "paperclip", "asset_destroy" => "file-x", "otp_enroll" => "shield-lock", "otp_disable" => "shield-off", -- cgit v1.3