Sha256: 58bff29451cd58dc15d3ffc12357db6039699f30b61e5ecb01d9140805802a10

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

require 'rails'

module PartialFinder
  class Railtie < Rails::Railtie
    railtie_name :partial_finder

    rake_tasks do
      path = File.expand_path(__dir__)
      Dir.glob("#{path}/../tasks/**/*.rake").each{ |f| load f }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
partial_finder-0.1.3 lib/partial_finder/railtie.rb
partial_finder-0.1.2 lib/partial_finder/railtie.rb