Sha256: 64b63bf766d20de98eeef17d28430865fbef8d048d51e553c4e5e05ac33b8ffe
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trax_controller-1.0.0 | lib/trax/controller/engine.rb |
trax_controller-0.1.4 | lib/trax/controller/engine.rb |