Sha256: 12b0c2d17e64dc40a17a736466c8b2b322dcdfdff41042999ed11515d4123a09

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

module Indices
  class Railtie < Rails::Railtie

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

    rake_tasks do
      load 'tasks/indices.rake'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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