app/models/locomotive/extensions/site/locales.rb
# Call yield within the Mongoid::Fields::I18 context of the default locale.
#
Call yield within the Mongoid::Fields::I18 context of the default locale.
Call yield within the Mongoid :: Fields :: I18 context of the default locale .
def with_default_locale(&block)
          ::Mongoid::Fields::I18n.with_locale(self.default_locale) do
            yield
          end
        end
def with_default_locale ( & block ) :: Mongoid :: Fields :: I18n . with_locale ( self . default_locale ) do yield end end
Call yield within the Mongoid::Fields::I18 context of the default locale.
Call yield within the Mongoid :: Fields :: I18 context of the default locale .
block
<not_specific>