lib/jets/controller/rendering/rack_renderer.rb in jets-1.9.9 vs lib/jets/controller/rendering/rack_renderer.rb in jets-1.9.10
- old
+ new
@@ -204,9 +204,10 @@
include helper_class
end
end
ActionController::Base.append_view_path("#{Jets.root}/app/views")
+ ActionView::Resolver.caching = !Jets.env.development?
setup_webpacker if Jets.webpacker?
end
# Does not include ApplicationHelper, will include ApplicationHelper explicitly first.