Sha256: 6b5bf1d0ff9f583aadba2cb0de2d7419c228ac2626413f2b96cbcf67531af059

Contents?: true

Size: 203 Bytes

Versions: 4

Compression:

Stored size: 203 Bytes

Contents

require 'glow/filter'
require 'action_controller/base'

module Glow
  class Railtie < Rails::Railtie
    config.to_prepare do
      ::ActionController::Base.send :include, Glow::Filter
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glow-0.0.4 lib/glow/railtie.rb
glow-0.0.3 lib/glow/railtie.rb
glow-0.0.2 lib/glow/railtie.rb
glow-0.0.1 lib/glow/railtie.rb