Sha256: d4be649829ed1527dd4c842c778745f5a2667b9f22dc25137c2d3a65795366d8

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

module ActiveModel
  class Railtie < Rails::Railtie
    initializer 'generators' do |app|
      require 'rails/generators'
      require 'active_model/serializer/generators/serializer/serializer_generator'
      require 'active_model/serializer/generators/serializer/scaffold_controller_generator'
      Rails::Generators.configure!(app.config.generators)
      require 'active_model/serializer/generators/resource_override'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_model_serializers_rails_2.3-0.9.0.pre2 lib/active_model/serializer/railtie.rb