Sha256: 0b6ffecbb36b3d009adc8065638e3f16e6b1b57e434889576acbf6a63b8c9027

Contents?: true

Size: 551 Bytes

Versions: 22

Compression:

Stored size: 551 Bytes

Contents

class Notifier < ActionMailer::Base
  def registration(account)
    recipients  account.email
    from        AppConfig.email_from
    subject     "[#{AppConfig.project}] #{I18n.t('backend.emails.registration.object')}"
    body        :account => account, :url => "http://#{AppConfig.host_addr}/backend"
  end
  
  def support_request(account, message)
    from        account.email
    recipients  AppConfig.email_help
    subject     "[#{AppConfig.project}] #{I18n.t('backend.emails.support.object')}"
    body        :message => message
  end
end 

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
lipsiadmin-4.1.8 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.3.1 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.2 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.0 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.1 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-2.9 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.3.3 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.3.2 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.4.0 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.3.4 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.3 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.4.1 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-3.4.2 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.1 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.0.0 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.0 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.2 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.3 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.4 lipsiadmin_generators/backend/templates/models/notifier.rb
lipsiadmin-4.1.5 lipsiadmin_generators/backend/templates/models/notifier.rb