Sha256: 3716274006b2fe76d232b136d63bddcce89bc3317bc0f65deb776fb39f1c17d2

Contents?: true

Size: 553 Bytes

Versions: 6

Compression:

Stored size: 553 Bytes

Contents

require 'rails/generators/erb/mailer/mailer_generator'
require 'rails/generators/mailer/mailer_generator'

module Erb
  module Generators
    class MailerGenerator

      def generate_locale_file
        invoke("locale:view", [name]) if ActiveGenerator.configuration.autoload_view_generator_locale
      end

    end
  end
end

module Rails
  module Generators
    class MailerGenerator

      def generate_locale_file
        invoke("locale:mailer", [name]) if ActiveGenerator.configuration.autoload_mailer_generator_locale
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_generator-2.2.4 lib/generators/rails/mailer_generator.rb
active_generator-2.2.3 lib/generators/rails/mailer_generator.rb
active_generator-2.2.2 lib/generators/rails/mailer_generator.rb
active_generator-2.2.1 lib/generators/rails/mailer_generator.rb
active_generator-2.2.0 lib/generators/rails/mailer_generator.rb
active_generator-2.1.0 lib/generators/rails/mailer_generator.rb