File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ def view_cache_dependencies
333333 [ ]
334334 end
335335
336- if defined? ( Rails ::VERSION ) && ( Rails ::VERSION ::MAJOR == 7 && Rails ::VERSION ::MINOR == 1 )
336+ if defined? ( Rails ::VERSION ) && Rails ::VERSION ::MAJOR == 7 && Rails ::VERSION ::MINOR == 1
337337 # Rails expects us to define `format` on all renderables,
338338 # but we do not know the `format` of a ViewComponent until runtime.
339339 def format
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def each(&block)
2020 components . each ( &block )
2121 end
2222
23- if defined? ( Rails ::VERSION ) && ( Rails ::VERSION ::MAJOR == 7 && Rails ::VERSION ::MINOR == 1 )
23+ if defined? ( Rails ::VERSION ) && Rails ::VERSION ::MAJOR == 7 && Rails ::VERSION ::MINOR == 1
2424 # Rails expects us to define `format` on all renderables,
2525 # but we do not know the `format` of a ViewComponent until runtime.
2626 def format
You can’t perform that action at this time.
0 commit comments