Skip to content

Commit

Permalink
Added empty line after guard clause to navbar.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Aug 27, 2019
1 parent f2bcbc1 commit a8df32e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/application_helper/navbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ def menu_to_json(placement = :default)
structure = []
Menu::Manager.menu(placement) do |menu_section|
next unless menu_section.visible?

structure << item_to_hash(menu_section)
end
structure
Expand Down

0 comments on commit a8df32e

Please sign in to comment.