Sha256: 6f756448397ee6fde10d981e3a2bded7c8a449372397919038d50dd2e18d9cb1
Contents?: true
Size: 347 Bytes
Versions: 62
Compression:
Stored size: 347 Bytes
Contents
module Workarea module Admin module NavigationMenusHelper def navigation_menu_classes(menu, active_menu) classes = [] classes << 'navigation-builder__node--selected' if menu == active_menu classes << 'navigation-builder__node--inactive' unless menu.active? classes.join(' ') end end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | app/helpers/workarea/admin/navigation_menus_helper.rb |
workarea-admin-3.4.12 | app/helpers/workarea/admin/navigation_menus_helper.rb |