Skip to content

Instantly share code, notes, and snippets.

@saturnflyer
Last active December 19, 2015 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saturnflyer/6011386 to your computer and use it in GitHub Desktop.
Save saturnflyer/6011386 to your computer and use it in GitHub Desktop.
mail helper
def custom_mail_to(email, link_text, i18n_subject_key)
mail_to(email, link_text, :subject => I18n.t(i18n_subject_key, :email => email))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment