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.0.13 | lib/generators/lolita_menu/templates/lolita-menu-urls.rb |