File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def membership_class_for(record)
119119 assoc . to_s . include? ( joinable_type . underscore )
120120 end
121121
122- membership_class_name &.to_s &.classify &.constantize
122+ membership_class_name &.to_s &.classify &.constantize # rubocop:todo Style/SafeNavigationChainLength
123123 end
124124
125125 # Generate a unique cache key for each instance and method
Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ def cache_key
4747 "#{ super } /#{ css_block &.updated_at &.to_i } "
4848 end
4949
50+ # rubocop:todo Layout/LineLength
5051 # TODO: Updating the css_block contents does not update the platform cache key. Needs platform attribute update before changes take effect.
52+ # rubocop:enable Layout/LineLength
5153 def css_block
5254 @css_block ||= blocks . find_by ( type : 'BetterTogether::Content::Css' )
5355 end
You can’t perform that action at this time.
0 commit comments