Sha256: 133b4c4c432aad67844178b3a45e3562c5156ac5219c5a6181e849f85e62f6f9

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

require 'ivy/serializers'
require 'ivy/serializers/rails/action_controller/serialization_support'
require 'rails'

module Ivy
  module Serializers
    module Rails
      class Railtie < ::Rails::Railtie
        initializer 'ivy.serializers.controllers' do
          ActiveSupport.on_load(:action_controller) do
            include ::Ivy::Serializers::Rails::ActionController::SerializationSupport
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ivy-serializers-rails-0.2.0 lib/ivy/serializers/rails/railtie.rb
ivy-serializers-rails-0.1.0 lib/ivy/serializers/rails/railtie.rb