lib/admin_command.rb 🔗 @@ -22,7 +22,9 @@ class AdminCommand def menu reply(FormTemplate.render("admin_menu")).then do |response| - handle(response.form.field("action").value) + if response.form.field("action") + handle(response.form.field("action").value) + end end end