Fix Rubocop offences (#2630)
* disable Bundler/OrderedGems * fix rubocop Lint/UselessAssignment * fix rubocop Style/BlockDelimiters * fix rubocop Style/AlignHash * fix rubocop Style/AlignParameters, Style/EachWithObject * fix rubocop Style/SpaceInLambdaLiteral
This commit is contained in:
@ -17,9 +17,9 @@ module Localized
|
||||
end
|
||||
|
||||
def default_locale
|
||||
ENV.fetch('DEFAULT_LOCALE') {
|
||||
ENV.fetch('DEFAULT_LOCALE') do
|
||||
user_supplied_locale || I18n.default_locale
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
def user_supplied_locale
|
||||
|
Reference in New Issue
Block a user