Sha256: dd0d2aedce0cb6f31ae7a51968e91630850af1ad83b2893fac15a4a01458457f
Contents?: true
Size: 472 Bytes
Versions: 8
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true module AxlsxRails class Railtie < Rails::Railtie initializer 'axlsx_rails.initialization' do ActiveSupport.on_load(:action_view) do require 'axlsx_rails/template_handler' ActionView::Template.register_template_handler :axlsx, ActionView::Template::Handlers::AxlsxBuilder.new end ActiveSupport.on_load(:action_controller) do require 'axlsx_rails/action_controller' end end end end
Version data entries
8 entries across 8 versions & 3 rubygems