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
@@ -24,6 +24,10 @@ class Command < ApplicationRecord
false
end
def needs_confirmation?
false
end
private
def redirect_to(...)
Command::Result::Redirection.new(...)