Sha256: fe3179335dbdfb6ff19223eae363ee0fc66ea6287a8387796a21bc9c3a0b1853

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
active_model_serializers-0.10.8 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.7 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.6 lib/generators/rails/resource_override.rb
active_model_serializers-0.10.5 lib/generators/rails/resource_override.rb