lib/globalize/rails/action_mailer.rb
# Initialize the mailer via the given +method_name+. The body will be
# rendered and a new TMail::Mail object created.
#
# This method is overriden by Globalize to support multiple templates
# for different locales. For example, use:
#   signup_notification.en-US.text.html.rhtml
# It is fully backwards compatible with the original rails version.

Initialize the mailer via the given +method_name+. The body will be
rendered and a new TMail::Mail object created.

This method is overriden by Globalize to support multiple templates
for different locales. For example, use:
signup_notification.en-US.text.html.rhtml
It is fully backwards compatible with the original rails version.
Initialize the mailer via the given + method_name + . The body will be rendered and a new TMail :: Mail object created . This method is overriden by Globalize to support multiple templates for different locales . For example use : signup_notification . en - US . text . html . rhtml It is fully backwards compatible with the original rails version .
def locale_codes
        loc = Globalize::Locale.active
        lang = Globalize::Locale.language
        codes = [ loc, lang ].compact.map {|o| o.code }.uniq
        codes << nil 
      end
def locale_codes loc = Globalize :: Locale . active lang = Globalize :: Locale . language codes = [ loc , lang ] . compact . map { | o | o . code } . uniq codes << nil end
Initialize the mailer via the given +method_name+.
Initialize the mailer via the given + method_name + .
# look for default path, with no localization
