chore: fix rubocop
This commit is contained in:
parent
ba3b70ea30
commit
5cd472bb9f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ module SwitchLocale
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def switch_locale(&action)
|
def switch_locale(&)
|
||||||
# priority is for locale set in query string (mostly for widget/from js sdk)
|
# priority is for locale set in query string (mostly for widget/from js sdk)
|
||||||
locale ||= locale_from_params
|
locale ||= locale_from_params
|
||||||
# if locale is not set in account, let's use DEFAULT_LOCALE env variable
|
# if locale is not set in account, let's use DEFAULT_LOCALE env variable
|
||||||
|
|
Loading…
Reference in a new issue