Sha256: 2866a3271aec2fbf90c386cfed40f3e3e67e1a9fae7b8286053049fec1e4c2ec

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

require 'rails/generators'
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator'

module Rails
  module Generators
    class ScaffoldControllerGenerator
      source_paths.unshift File.expand_path('../templates', __FILE__)

      hook_for :jbuilder, default: true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jbuilder-2.2.16 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.2.14 lib/generators/rails/scaffold_controller_generator.rb