Sha256: 3c998927181e3a2a05faf064fb5536243653e10bdce56167fd1d0e7c7bff630d

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

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.0 lib/columnify/railtie.rb