Sha256: 5d06374feea867153cbd19532b63b679a2ac4cc6ffdf64da532b8df43f10c979

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require 'spree_retailers/version'
require 'spree_retailers/custom_hooks'

module SpreeRetailers
  
  class Engine < Rails::Engine

    config.autoload_paths += %W(#{config.root}/lib)

    #initializer "static assets" do |app|
    #  app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{config.root}/public"
    #end

    #def self.activate
    #  #Dir["../app/**/*.rb"].each do |c|
    #  #  puts c
    #  #  #Rails.env.production? ? require(c) : load(c)
    #  #end
    #end

    #config.to_prepare &method(:activate).to_proc
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_retailers-0.40.0.1 lib/spree_retailers.rb