Implement CSV import and conversion to contestants
All checks were successful
CI / scan_ruby (push) Successful in 17s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 26s

This commit is contained in:
sto
2025-05-17 17:40:03 +02:00
parent 939e2157ab
commit ec2201f9a8
12 changed files with 165 additions and 17 deletions

View File

@@ -16,7 +16,9 @@ Rails.application.routes.draw do
get "convert", to: "messages#convert"
end
get "import", to: "contestants#import"
post "import", to: "contestants#import"
post "import", to: "contestants#upload_csv"
get "import/:id", to: "contestants#convert_csv"
post "import/:id", to: "contestants#finalize_import"
end
resources :passwords, param: :token
resource :session