Sha256: f2d0f88ad1c0ae5465aa229492a816ed0e53e5428642d54353b186bb4a0256dd

Contents?: true

Size: 305 Bytes

Versions: 21

Compression:

Stored size: 305 Bytes

Contents

Lolita::Menu::Urls.create do 
 # add url and/or label to autocomplete list
 # add "/contacts", "Contacts"
 # add "/pages/my-contact-page"
 # add root_path
 # # You can collect data from you models
 # Pages.where("created_at > ?", 30.days.ago).each do |page|
 #   add page_path(page), page.title
 # end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
lolita-menu-0.4.2 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.4.1 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.4.0 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.6 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.5 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.4 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.2 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.1 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.3.0 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.2.2 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.2.1 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.2.0 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.7 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.6 lib/generators/lolita/menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.5 lib/generators/lolita_menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.4 lib/generators/lolita_menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.1 lib/generators/lolita_menu/templates/lolita-menu-urls.rb
lolita-menu-0.1.0 lib/generators/lolita_menu/templates/lolita-menu-urls.rb
lolita-menu-0.0.15 lib/generators/lolita_menu/templates/lolita-menu-urls.rb
lolita-menu-0.0.14 lib/generators/lolita_menu/templates/lolita-menu-urls.rb