Sha256: 7c1b9bbc1b6a1a910dbd70b2790973098ce3802e41e36deb03548254fa9cb6c5

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

module Cachers
  class Railtie < Rails::Railtie

    config.after_initialize do
      Dir[Rails.root.join('app/cachers/*')].each do |file|
        load file
      end
    end

    rake_tasks do
      load 'tasks/cachers.rake'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cachers-4.0.0.0 lib/cachers/railtie.rb