Better ruby3 forwarding for localization and have a default locale of en
This commit is contained in:
@@ -66,7 +66,7 @@ module Cmtool
|
||||
end
|
||||
|
||||
def locales
|
||||
Rails.configuration.i18n.available_locales.presence || []
|
||||
Rails.configuration.i18n.available_locales.presence || [:en]
|
||||
end
|
||||
|
||||
def default_locale
|
||||
|
||||
Reference in New Issue
Block a user