Add admin action to regenerate QR codes
Some checks failed
CI / scan_ruby (push) Failing after 12s
CI / scan_js (push) Failing after 10s
CI / lint (push) Successful in 13s
CI / test (push) Failing after 39s

This commit is contained in:
sto
2025-11-21 10:53:23 +01:00
parent db6f732e63
commit ae3c7c73e1
5 changed files with 20 additions and 1 deletions

View File

@@ -25,4 +25,5 @@ table.table.table-striped.table-hover
.col
a.btn.btn-primary href=new_user_path
| New user
= button_to "Update contestants", "/update_contestants", method: :post, class: "mt-3 btn btn-success"
= button_to "Update contestants", "/update_contestants", method: :post, class: "mt-3 btn btn-success"
= button_to "Regenerate QR codes", "/regenerate_qrcodes", method: :post, class: "mt-3 btn btn-success"