Sha256: 12993b5948cbfb8c3d8854d170bd628e7825f757cf4a037a993c2684ad96a09a

Contents?: true

Size: 425 Bytes

Versions: 40

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

require "rails/generators/rails/resource/resource_generator"

module Rails
  module Generators
    class ScaffoldGenerator < ResourceGenerator # :nodoc:
      remove_hook_for :resource_controller
      remove_class_option :actions

      class_option :api, type: :boolean
      class_option :resource_route, type: :boolean

      hook_for :scaffold_controller, required: true
    end
  end
end

Version data entries

40 entries across 37 versions & 5 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.6/lib/rails/generators/rails/scaffold/scaffold_generator.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.7/lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8.7 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8.6 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8.5 lib/rails/generators/rails/scaffold/scaffold_generator.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.0.8.4/lib/rails/generators/rails/scaffold/scaffold_generator.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8.4 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8.1 lib/rails/generators/rails/scaffold/scaffold_generator.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.8 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.7.2 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.7.1 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.7 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.6 lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties-7.0.5.1 lib/rails/generators/rails/scaffold/scaffold_generator.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/generators/rails/scaffold/scaffold_generator.rb