Hello. Thanks, but I want to pass variables from controller methods to layaout, or use helpers, such a side menu generation, from layaout
вторник, 28 октября 2014 г., 16:54:47 UTC+2 пользователь mjb152 написал: > not sure exactly what you mean but you can pass variables to a layout file > like this:- > > % layout 'mylayoutfile', thisvar => 'true' > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
