Sha256: 608c32abced503867dc98e70c1e8c9d644a9aa27423261b1be583bdfacd50734

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

module Indexes
  class Railtie < Rails::Railtie

    initializer :indexes do
      Dir[Rails.root.join('app/indexes/*')].each do |index|
        load index
      end
    end

    rake_tasks do
      load 'tasks/indexes.rake'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
indexes-0.0.1 lib/indexes/railtie.rb