Forum: Ruby on Rails Layouts with variables

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
255fa588e4d48c0d6bfe7da572b3137c?d=identicon&s=25 bartocc (Guest)
on 2007-05-25 13:59
(Received via mailing list)

I would like to render a menu thx to a YAML file inside on of my
So far, the only hack I have found is to YAML.load_file inside an ERB
in the layout.

I don't really like this, and there must be a better way to do so. I
just don't know how ;-)

Could anyone help me on this ?

This topic is locked and can not be replied to.