Sha256: ec8c2f4c5d143c6062b5c15c612c77328461d5bc6e426bbc666777755ebb0ad3
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
require 'rails/generators' require 'rails/generators/rails/model/model_generator' require 'rails/generators/rails/resource/resource_generator' require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class ModelGenerator hook_for :decorator, default: true end class ResourceGenerator hook_for :decorator, default: true end class ScaffoldControllerGenerator hook_for :decorator, default: true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
light-decorator-1.0.1 | lib/generators/rails/hooks.rb |
light-decorator-1.0.0 | lib/generators/rails/hooks.rb |