Skip to content

Commit 7661cf5

Browse files
committed
more cleanup
1 parent d6e4014 commit 7661cf5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ nav_order: 5
2222

2323
*Reegan Viljoen*
2424

25+
* Add first class component cache.
26+
27+
*Reegan Viljoen*
28+
2529
## 3.21.0
2630

2731
* Updates testing docs to include an example of how to use with RSpec.
@@ -94,10 +98,6 @@ nav_order: 5
9498

9599
*Javier Aranda*
96100

97-
* Add first class component cache.
98-
99-
*Reegan Viljoen*
100-
101101
## 3.17.0
102102

103103
* Use struct instead openstruct in lib code.

lib/view_component/base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ def safe_output_postamble
434434
# ```
435435
#
436436
# Defaults to `false`.
437+
437438
class << self
438439
# The file path of the component Ruby file.
439440
#

lib/view_component/cacheable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def __vc_render_cacheable(rendered_template)
4242
end
4343

4444
class_methods do
45-
4645
# For caching the component
4746
def cache_on(*args)
4847
__vc_cache_dependencies.push(*args)

0 commit comments

Comments
 (0)