Sha256: 36995314e5802b49374c9c1852eca7ee2bcd3503a216c23ae8c3b4d70e906383
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
require 'rails/generators/erb/controller/controller_generator' require 'rails/generators/rails/controller/controller_generator' module Erb module Generators class ControllerGenerator def generate_locale_file invoke("locale:view", [name]) if ActiveGenerator.configuration.autoload_view_generator_locale end end end end module Rails module Generators class ControllerGenerator def generate_locale_file invoke("locale:controller", [name]) if ActiveGenerator.configuration.autoload_controller_generator_locale end end end end
Version data entries
6 entries across 6 versions & 1 rubygems