Sha256: e6e14d7955ba60a4a3522a5029ee496653c8d03dc578117ada847cefff2aca54

Contents?: true

Size: 257 Bytes

Versions: 8

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

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

module Rails
  module Generators
    class ResourceGenerator
      hook_for :serializer, default: true, type: :boolean
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
active_model_serializers-0.10.15 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.14 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.13 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.12 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.11 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.10 lib/generators/rails/resource_override.rb
active_model_serializers_custom-0.10.90 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.9 lib/generators/rails/resource_override.rb