lib/jets/lambda/dsl.rb in jets-1.8.14 vs lib/jets/lambda/dsl.rb in jets-1.9.0
- old
+ new
@@ -402,13 +402,9 @@
end # end of class << self
end # end of included
def self.add_custom_resource_extensions(base)
base_path = "#{Jets.root}/app/extensions"
- unless ActiveSupport::Dependencies.autoload_paths.include?(base_path)
- ActiveSupport::Dependencies.autoload_paths += [base_path]
- end
-
Dir.glob("#{base_path}/**/*.rb").each do |path|
next unless File.file?(path)
class_name = path.sub("#{base_path}/", '').sub(/\.rb/,'').classify
klass = class_name.constantize # autoload