Skip to content

Commit

Permalink
APIDOC-168: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoranieri committed Jul 5, 2022
1 parent ba056e3 commit 9183dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexmo_developer/app/presenters/sidenav.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def nav_items

if @nav_items.blank?
@nav_items = items.map do |item|
if @product && @product.split('/')[1] == nil && @product.include?(item[:title])
if @product && @product.split('/')[1].nil? && @product.include?(item[:title])
SidenavItem.new(folder: item, sidenav: self)
end
end.compact
Expand Down

0 comments on commit 9183dde

Please sign in to comment.