lib/jets/controller/rendering/rack_renderer.rb in jets-1.9.4 vs lib/jets/controller/rendering/rack_renderer.rb in jets-1.9.5
- old
+ new
@@ -223,10 +223,10 @@
expression = "#{project_root}/app/helpers/**/*"
Dir.glob(expression).each do |path|
next unless File.file?(path)
class_name = path.sub("#{project_root}/app/helpers/","").sub(/\.rb/,'')
unless class_name == "application_helper"
- klasses << class_name.classify.constantize # autoload
+ klasses << class_name.camelize.constantize # autoload
end
end
klasses
end