Skip to content

Commit c08f7b8

Browse files
committed
more cleanup
1 parent d389ca1 commit c08f7b8

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
@@ -10,6 +10,10 @@ nav_order: 5
1010

1111
## main
1212

13+
* Add first class component cache.
14+
15+
*Reegan Viljoen*
16+
1317
* Ensure HTML output safety wrapper is used for all inline templates.
1418

1519
*Joel Hawksley*
@@ -60,10 +64,6 @@ nav_order: 5
6064

6165
*Javier Aranda*
6266

63-
* Add first class component cache.
64-
65-
*Reegan Viljoen*
66-
6767
## 3.17.0
6868

6969
* 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)