Sha256: 4c71cebdbe874f560fc6c60030a6dc8ac75fcc8920d88b5972fbaed37f46e993
Contents?: true
Size: 505 Bytes
Versions: 40
Compression:
Stored size: 505 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, desc: "Generate API-only controller and tests, with no view templates" class_option :resource_route, type: :boolean hook_for :scaffold_controller, required: true end end end
Version data entries
40 entries across 40 versions & 5 rubygems