Skip to content

Instantly share code, notes, and snippets.

@ajsharp
Created October 29, 2012 19:23
Show Gist options
  • Select an option

  • Save ajsharp/3975902 to your computer and use it in GitHub Desktop.

Select an option

Save ajsharp/3975902 to your computer and use it in GitHub Desktop.
class ActionMailer::Base
default 'X-SMTPAPI' => lambda {
{ 'category' => "#{mailer_name}.#{@template}",
'unique_args' => (@unique_args || {})
}.to_json
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment