Sha256: 63dbb8aad9c23cca67213440fc606dae29ad47276b95bf24e82108985ee855fa

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require 'rails'

module Columnify
  class Railtie < Rails::Railtie
    initializer :columnify do
      ActiveSupport.on_load(:action_view) do
        require "columnify/columnify_template"
        ActionView::Template.register_template_handler :columnify, ColumnifyHandler
      end

      ActiveSupport.on_load(:action_controller) do
        require "columnify/action_controller"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
columnify-0.1.1 lib/columnify/railtie.rb