Sha256: e22b8a2dcd4c064b1e1ce6009683628f81bf0c33d3e40bbbea5dcca9bdf89452

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

module Trax
  module Controller
    class Engine < ::Rails::Engine
      initializer 'trax_controller.active_model_serializers' do |app|
        ::ActiveModel::Serializer.config.adapter = Trax::Controller::Serialization::Adapters::Json
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trax_controller-0.1.3 lib/trax/controller/engine.rb
trax_controller-0.1.2 lib/trax/controller/engine.rb
trax_controller-0.1.1 lib/trax/controller/engine.rb
trax_controller-0.1.0 lib/trax/controller/engine.rb
trax_controller-0.0.4 lib/trax/controller/engine.rb
trax_controller-0.0.3 lib/trax/controller/engine.rb