app/models/emailer.rb
def bulk_observation_success(user, filename)
    @user = user
    # @subject << "The bulk import of #{filename} has been completed successfully."
    @subject = "#{subject_prefix} #{t(:bulk_import_of_filename_is_complete, :filename => filename)}"
    @filename = filename
    mail(set_site_specific_opts.merge(
      :to => "#{user.name} <#{user.email}>", :subject => @subject
    ))
  end
# Send the user an email saying the bulk observation import was successful.
Send the user an email saying the bulk observation import was successful.
Send the user an email saying the bulk observation import was successful .
def bulk_observation_success(user, filename)
    @user = user
    @subject = "#{subject_prefix} #{t(:bulk_import_of_filename_is_complete, :filename => filename)}"
    @filename = filename
    mail(set_site_specific_opts.merge(
      :to => "#{user.name} <#{user.email}>", :subject => @subject
    ))
  end
def bulk_observation_success ( user , filename ) @user = user @subject = "#{subject_prefix} #{t(:bulk_import_of_filename_is_complete, :filename => filename)}" @filename = filename mail ( set_site_specific_opts . merge ( :to => "#{user.name} <#{user.email}>" , :subject => @subject ) ) end
Send the user an email saying the bulk observation import was successful.
Send the user an email saying the bulk observation import was successful .
# @subject << "The bulk import of #{filename} has been completed successfully."
user
filename