Sha256: 859909844e4ad2165d6c666f12b361c12544d04d71767564360dfbe3543b1b65

Contents?: true

Size: 306 Bytes

Versions: 10

Compression:

Stored size: 306 Bytes

Contents

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

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

      hook_for :jbuilder, default: true
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
jbuilder-2.6.1 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.6.0 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.5.0 lib/generators/rails/scaffold_controller_generator.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/jbuilder-2.4.1/lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.4.1 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.4.0 lib/generators/rails/scaffold_controller_generator.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/jbuilder-2.3.2/lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.3.2 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.3.1 lib/generators/rails/scaffold_controller_generator.rb
jbuilder-2.3.0 lib/generators/rails/scaffold_controller_generator.rb