Sha256: cd3692a1e04be15e1d72df29d8e0faaf9db621b068990db962d4a72d96988111
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
require 'cache_key_for/cache_key_for_helper' require 'cache_key_for/cache_key_for_view_helper' module CacheKeyFor class Railtie < Rails::Railtie initializer 'cache_key_for.helper' do |app| ActionView::Base.send :include, CacheKeyForHelper end initializer 'cache_key_for_view.helper' do |app| ActionView::Base.send :include, CacheKeyForViewHelper end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cache_key_for-0.1.1 | lib/cache_key_for/railtie.rb |
cache_key_for-0.1.0 | lib/cache_key_for/railtie.rb |