Sha256: 060042d3745e4182be31f7db9d86e9d6dc11b356421fca74374a127f1ccd019d

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

require 'rails/generators/erb/scaffold/scaffold_generator'

module Erb
  module Generators
    class ScaffoldGenerator

      def generate_locale_file
        invoke("locale:view", [name]) if ActiveGenerator.configuration.autoload_view_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/scaffold_generator.rb
active_generator-2.2.3 lib/generators/rails/scaffold_generator.rb
active_generator-2.2.2 lib/generators/rails/scaffold_generator.rb
active_generator-2.2.1 lib/generators/rails/scaffold_generator.rb
active_generator-2.2.0 lib/generators/rails/scaffold_generator.rb
active_generator-2.1.0 lib/generators/rails/scaffold_generator.rb