Sure :) it does not work in the leayout. четвъртък, 11 юни 2015 г., 16:28:40 UTC+2, Juergen Nickelsen написа: > > On 11.06.2015 14:37, sri wrote: > > Personally, i find the whole idea silly, but i suppose <%= __FILE__ %> > > should work reasonably well. > > That does not work as intended if I put it in the layout, as it gives me > the name of the layout file (unsuprisingly). I wanted to specifically > avoid having to put something into each of the templates, but factor it > out into the layout -- in the spirit of Mojolicious, which allows me to > avoid boilerplate code quite easily in general. :-) > > But then it isn't that important anyway. Thanks for the hints! > Regards, Juergen. > > -- > <[email protected] <javascript:>> Tel +49.30.838-50740 Fax -450740 > Zentraleinrichtung fuer Datenverarbeitung, Central Systems (Unix) > Freie Universitaet Berlin, Fabeckstrasse 32, 14195 Berlin, DE >
-- 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.
