Module: HorizontalNavHelper

Defined in:
app/helpers/horizontal_nav_helper.rb

Instance Method Summary collapse

Instance Method Details

#horizontal_navObject



2
3
4
# File 'app/helpers/horizontal_nav_helper.rb', line 2

def horizontal_nav
  present HorizontalNav.for_user(current_user, current_navable: current_navable)
end

#horizontal_nav_lisObject



6
7
8
9
10
# File 'app/helpers/horizontal_nav_helper.rb', line 6

def horizontal_nav_lis
  present HorizontalNav.for_user(current_user, current_navable: current_navable) do |presenter|
    presenter.nav_lis
  end
end