File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ def config
4747 delegate :content_security_policy_nonce , to : :helpers
4848
4949 # Config option that strips trailing whitespace in templates before compiling them.
50- # class_attribute :__vc_cache_dependencies, default: []
5150 class_attribute :__vc_strip_trailing_whitespace , instance_accessor : false , instance_predicate : false
5251 self . __vc_strip_trailing_whitespace = false # class_attribute:default doesn't work until Rails 5.2
5352
@@ -434,7 +433,7 @@ def safe_output_postamble
434433 # config.view_component.generate.preview = true
435434 # ```
436435 #
437-
436+ # Defaults to `false`.
438437 class << self
439438 # The file path of the component Ruby file.
440439 #
@@ -489,10 +488,6 @@ def sidecar_files(extensions)
489488 ( sidecar_files - [ identifier ] + sidecar_directory_files + nested_component_files ) . uniq
490489 end
491490
492- def cache_on ( *args )
493- __vc_cache_dependencies . push ( *args )
494- end
495-
496491 # Render a component for each element in a collection ([documentation](/guide/collections)):
497492 #
498493 # ```ruby
You can’t perform that action at this time.
0 commit comments