Add public form to add completions
This commit is contained in:
@@ -170,6 +170,8 @@ en:
|
||||
edit:
|
||||
notice: Completion updated
|
||||
title: Edit completion
|
||||
form:
|
||||
validate_name: "Validate a puzzle for %{name}"
|
||||
new:
|
||||
notice: Completion added
|
||||
title: New completion
|
||||
|
||||
@@ -141,6 +141,8 @@ fr:
|
||||
edit:
|
||||
notice: Complétion modifiée
|
||||
title: Modifier la complétion
|
||||
form:
|
||||
validate_name: "Valider un puzzle pour %{name}"
|
||||
new:
|
||||
notice: Complétion ajoutée
|
||||
title: Ajout d'une complétion
|
||||
|
||||
@@ -44,4 +44,7 @@ Rails.application.routes.draw do
|
||||
get "public/:id/offline/:token", to: "contests#offline_edit"
|
||||
patch "public/:id/offline/:token", to: "contests#offline_update"
|
||||
get "public/:id/offline/:token/completed", to: "contests#offline_completed"
|
||||
get "public/p/:token", to: "contestants#get_public_completion"
|
||||
post "public/p/:token", to: "contestants#post_public_completion"
|
||||
get "public/p/:token/updated", to: "contestants#public_completion_updated"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user