mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add lang
This commit is contained in:
1 parent
e22a3d9ef3
commit
2af09afc66
5 files changed
+16
-4
No files matched your search
@@ -173,4 +173,8 @@ class StartFormController < ApplicationController
|
||||
redirect_to start_form_path(template.slug, lang:, params: submitter_params.merge(email_verification: true)),
|
||||
alert: I18n.t(:too_many_attempts)
|
||||
end
|
||||
|
||||
def lang
|
||||
params[:lang].presence
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user