Skip to content

Commit

Permalink
Fixed trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Jul 31, 2019
1 parent 85f2797 commit 2258cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/application_helper/navbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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 Expand Up @@ -35,7 +35,7 @@ def item_active?(item)
item.id.to_sym == active || item.id.to_sym == @layout.to_sym
else
return section_nav_class_iframe(item) if params[:action] == 'iframe'

active = controller.menu_section_id(controller.params) || @layout.to_sym

if item.parent.nil?
Expand Down

0 comments on commit 2258cdd

Please sign in to comment.