Show confirmation when submitting certain commands

https://3.basecamp.com/2914079/buckets/37331921/todos/8617430347
This commit is contained in:
Jorge Manrubia
2025-05-07 09:33:19 +02:00
parent 22c3c33c0b
commit 8697cabbe2
8 changed files with 105 additions and 16 deletions
+4
View File
@@ -43,6 +43,10 @@ class Command::Assign < Command
true
end
def needs_confirmation?
cards.many?
end
private
def assignees
User.where(id: assignee_ids)