This commit is contained in:
Pete Matsyburka committed 2026-10-27 15:31:15 +02:00
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