mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06: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
@@ -99,10 +99,6 @@ class ApplicationController < ActionController::Base
|
||||
I18n.with_locale(locale, &)
|
||||
end
|
||||
|
||||
def lang
|
||||
params[:lang].presence
|
||||
end
|
||||
|
||||
def with_browser_locale(&)
|
||||
return yield if I18n.locale != :'en-US' && I18n.locale != :en
|
||||
|
||||
|
||||
Reference in new issue
Block a user