Sha256: 6ebe69d2efa30563dd32c54be9cbab9b4b8cf65fa0ce47efab02b0f7f00a865f

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

module ActiveModel
  class Railtie < Rails::Railtie
    initializer 'generators' do |app|
      app.load_generators
      require 'active_model/serializer/generators/serializer/serializer_generator'
      require 'active_model/serializer/generators/serializer/scaffold_controller_generator'
      require 'active_model/serializer/generators/resource_override'
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
active_model_serializers-0.9.2 lib/active_model/serializer/railtie.rb
active_model_serializers-0.9.0 lib/active_model/serializer/railtie.rb
active_model_serializers_rails_2.3-0.9.0.alpha1 lib/active_model/serializer/railtie.rb
active_model_serializers-0.9.0.alpha1 lib/active_model/serializer/railtie.rb