Sha256: 0dbbab1479ba9ba60a5900f34c9f217b1b43da3ab58be4ef578591d4809e06cf

Contents?: true

Size: 187 Bytes

Versions: 11

Compression:

Stored size: 187 Bytes

Contents

module Snipp
  class Hooks
    def self.init
      ActiveSupport.on_load(:action_view) do
        ::ActionView::Base.send :include, Snipp::ActionViewExtension
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
snipp-0.1.4 lib/snipp/hooks.rb
snipp-0.1.3 lib/snipp/hooks.rb
snipp-0.1.2 lib/snipp/hooks.rb
snipp-0.1.1 lib/snipp/hooks.rb
snipp-0.1.0 lib/snipp/hooks.rb
snipp-0.0.6 lib/snipp/hooks.rb
snipp-0.0.5 lib/snipp/hooks.rb
snipp-0.0.4 lib/snipp/hooks.rb
snipp-0.0.3 lib/snipp/hooks.rb
snipp-0.0.2 lib/snipp/hooks.rb
snipp-0.0.1 lib/snipp/hooks.rb