Sha256: b090931b3bdf309a1c4524606699eae2978e79e96c939724f70339d74af6ef33

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

require 'rails/generators/mailer/mailer_generator'
require 'generators/goma/helpers/mailer_helpers'

module Goma
  module Generators
    class MailerGenerator < Rails::Generators::MailerGenerator
      include MailerHelpers
      source_root File.expand_path('../templates', __FILE__)

      class_option :resource_name

      hook_for :template_engine, in: 'goma:mailer'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
goma-0.0.1.rc3 lib/generators/goma/mailer/mailer_generator.rb
goma-0.0.1.rc2 lib/generators/goma/mailer/mailer_generator.rb
goma-0.0.1.rc1 lib/generators/goma/mailer/mailer_generator.rb
goma-0.0.1.gamma lib/generators/goma/mailer/mailer_generator.rb
goma-0.0.1.beta lib/generators/goma/mailer/mailer_generator.rb