Session in layout

Hi there

I’m trying to build a link menu in a layout using a helper depending on
a session value but I receive this error:

undefined local variable or method `session’ for

Is not possible access to session in layouts? How can I do this?

Thanks in advance


Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine

Welcome to the jungle, we got fun and games
Guns n’ Roses

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs