app/views/components/_menu-item.html.erb in wcc-contentful-app-1.2.0 vs app/views/components/_menu-item.html.erb in wcc-contentful-app-1.2.1
- old
+ new
@@ -1,5 +1,5 @@
-<% return '' unless item
+<% return '' unless item # rubocop:disable Lint/TopLevelReturnWithArgument
classes ||= ['nav-item']
classes.push('active') if item_active?(item)
classes.push('dropdown') if dropdown?(item)