module SubdomainLocale
Attributes
default_locale[RW]
mapping[RW]
Public Class Methods
default_fallback(locale)
click to toggle source
# File lib/subdomain_locale/mapping.rb, line 6 def self.default_fallback(locale) if I18n.locale_available?(locale) locale else default_locale end end