RubyGems Navigation menu

gbc_trestle_modifier 0.1.1

Treste is a great tool for rapid prototyping projects. I use it in loads of my projects. There are a couple of things that kind of tick me off though; Trestle resources tend to become large files in the app/admin folder due to the way they are written. I find it hard to read/maintain them as a big file, so I split them up into smaller files and created a generator to ensure that they always follow a standard. Another pet peeve is the menu handling. Handling menu itmes in each resource quickly becomes a nightmare. Ordering them requires a lot of manual work. To keep things simpler, inspired by the work from the crowd at WinterCMS, I created a menu.yml file that is used to manage the menu. I also created a helper that simplifies the placing of the menu.

Gemfile:
=

install:
=

Versions:

  1. 0.1.1 August 17, 2025 (13.5 KB)
  2. 0.1.0 August 16, 2025 (13 KB)

Runtime Dependencies (1):

trestle >= 0

Owners:

Pushed by:

Authors:

  • Gregory Brown

SHA 256 checksum:

=

Total downloads 414

For this version 241

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: