Sha256: 9d3d929c8c18a415daa0a7f55144d72de1dc52375b18cf73aba2c20c481f85cd
Contents?: true
Size: 456 Bytes
Versions: 7
Compression:
Stored size: 456 Bytes
Contents
require "rails/generators" require "rails/generators/rails/controller/controller_generator" require "rails/generators/rails/scaffold_controller/scaffold_controller_generator" module Rails module Generators class ControllerGenerator hook_for :decorator, default: true do |generator| invoke generator, [name.singularize] end end class ScaffoldControllerGenerator hook_for :decorator, default: true end end end
Version data entries
7 entries across 7 versions & 3 rubygems