QR codes generation
This commit is contained in:
@@ -40,6 +40,8 @@ Rails.application.configure do
|
||||
# Set localhost to be used by links generated in mailer templates.
|
||||
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
|
||||
|
||||
config.action_controller.default_url_options = { host: "localhost" }
|
||||
|
||||
# Print deprecation notices to the Rails logger.
|
||||
config.active_support.deprecation = :log
|
||||
|
||||
|
||||
@@ -60,6 +60,8 @@ Rails.application.configure do
|
||||
# Set host to be used by links generated in mailer templates.
|
||||
config.action_mailer.default_url_options = { host: "example.com" }
|
||||
|
||||
config.action_controller.default_url_options = { host: "public-scoreboard.org" }
|
||||
|
||||
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.
|
||||
# config.action_mailer.smtp_settings = {
|
||||
# user_name: Rails.application.credentials.dig(:smtp, :user_name),
|
||||
|
||||
@@ -258,6 +258,7 @@ en:
|
||||
edit: "Edit"
|
||||
end: Click here to submit your completion
|
||||
export: Export
|
||||
generate_qrcodes: Generate QR codes
|
||||
import: CSV Import
|
||||
open: Open
|
||||
refresh: Refresh
|
||||
|
||||
@@ -229,6 +229,7 @@ fr:
|
||||
edit: "Modifier"
|
||||
end: Clique ici pour valider ta complétion du puzzle
|
||||
export: Exporter
|
||||
generate_qrcodes: Générer des QR codes
|
||||
import: Importer un CSV
|
||||
open: Détails
|
||||
refresh: Rafraîchir
|
||||
|
||||
@@ -26,6 +26,7 @@ Rails.application.routes.draw do
|
||||
get "import/:id", to: "contestants#convert_csv"
|
||||
post "import/:id", to: "contestants#finalize_import"
|
||||
get "export", to: "contestants#export"
|
||||
get "generate_qrcodes", to: "contestants#generate_qrcodes"
|
||||
end
|
||||
resources :passwords, param: :token
|
||||
resource :session
|
||||
|
||||
Reference in New Issue
Block a user