Sha256: b52977b4257516f0a6b253b2a35bf461cff801c3e4ab75224f58dac072aa0318
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true module CSVRb class Railtie < Rails::Railtie initializer 'csv_rb.initialization' do ActiveSupport.on_load(:action_view) do require 'csv_rb/template_handler' ActionView::Template.register_template_handler :csvrb, ActionView::Template::Handlers::CSVRbBuilder.new end ActiveSupport.on_load(:action_controller) do require 'csv_rb/action_controller' end end end end
Version data entries
11 entries across 11 versions & 1 rubygems