Sha256: 5d627fb3c5b62d8522ebd160f42a5ec8f7d057396de1860bca9313697d5cddf7

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

require 'gravatarify'
require 'rails'

module Gravatarify
  class Railtie < Rails::Railtie
    initialize 'gravatarify.extend.action_view' do
      Rails.logger.error "[Gravatarify::Railtie] initialize('gravatarify.extend.action_view')"
      ActiveSupport.on_load(:action_view) do
        Rails.logger.error "[Gravatarify::Railtie] ActiveSupport.on_load(:action_view), #{self.class}"
        include Gravatarify::Helper
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gravatarify-2.2.2 lib/gravatarify/railtie.rb
gravatarify-2.2.1 lib/gravatarify/railtie.rb