Sha256: 8f113ccfcd87c155f491984ceb55edc00346bfd8130f05de3fec0c819c8ec5c0

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/rails/resource/resource_generator'

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

      class_option :resource_route, type: :boolean

      hook_for :scaffold_controller, required: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inertia_rails-3.5.0 lib/generators/inertia/scaffold/scaffold_generator.rb