app/mailers/application_mailer.rb
# Applies the correct subdomain if on a multisite install
Applies the correct subdomain if on a multisite install
Applies the correct subdomain if on a multisite install
def mailer_url_params(opts)
    return opts unless multisite_install?
    opts.merge(subdomain: @team.subdomain)
  end
def mailer_url_params ( opts ) return opts unless multisite_install? opts . merge ( subdomain : @team . subdomain ) end
Applies the correct subdomain if on a multisite install
Applies the correct subdomain if on a multisite install
opts