Sha256: 5035f2b7946ad81cf6b3efc93874e0c4d7de060acd99195746c203cccd24b763
Contents?: true
Size: 923 Bytes
Versions: 10
Compression:
Stored size: 923 Bytes
Contents
module Fae module NavigationConcern extend ActiveSupport::Concern # define the navigation structure in this file # example structure: # # def structure # [ # item('Top Nav Item 1', subitems: [ # item('Top Nav Dropdown Item 1', class: 'custom-class', path: some_named_route_path), # item('Top Nav Dropdown Item 2', subitems: [ # item('Side Nav Item 1', subitems: [ # item('Side Nav Nested Item', path: some_named_route_path) # ]), # item('Side Nav Item 1', path: some_named_route_path) # ]), # ]), # item('Pages', subitems: [ # item('Home', path: fae.edit_content_block_path('home')), # item('About Us', path: fae.edit_content_block_path('about_us')) # ]) # ] # end def structure [ # scaffold inject marker ] end end end
Version data entries
10 entries across 10 versions & 2 rubygems