Hi Juergen, May be this example could help you https://metacpan.org/source/BEROV/Ado-0.921/templates/layouts/default.html.ep
четвъртък, 11 юни 2015 г., 12:06:21 UTC+2, Juergen Nickelsen написа: > > On 10.06.2015 20:29, Allan Cochrane wrote: > > might not be relevant now but have you tried > > > > $controller->app->renderer->template_for($controller); > > > > For me it returns the directory and file name but not the format and > > handler (i.e. .html.ep is missing) > > Yep, it does. Great! I'd never have divined that from the documentation. > Format and handler are not as important anyway, so I'll use that and see > how it works out over the time. Thanks a lot! > > And the best thing is, it doesn't break my test cases. :-} > 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.
