Sha256: 0d657f5d104c310101e042cf87d053727d66f76a98c8c845a97fe99066417cb0

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require "generators/hotwire_scaffold/client_controller/client_controller_generator"
require "rails/generators/rails/resource/resource_generator"
module HotwireScaffold
  module Generators
    class ClientGenerator < Rails::Generators::ResourceGenerator
      remove_hook_for :resource_controller
      remove_class_option :actions

      invoke ClientControllerGenerator
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hotwire_scaffold_generator-1.0.1 lib/generators/hotwire_scaffold/client/client_generator.rb
hotwire_scaffold_generator-1.0.0 lib/generators/hotwire_scaffold/client/client_generator.rb