They all make use of https://metacpan.org/pod/Mojolicious::Controller#url_for to resolve your paths, to always make correct urls even if your apps path changes
I make use of javascript and url_for in Mojolicious::Lite +and jQuery +AJAX + Mojo::Template and *cough* Re: calling menu bar creating code from another cgi/pl code (mojo)
In reply to Re: Mojolicious - linking external css/js not working. ( taghelpers url_for / link_to / javascript / stylesheet )
by Anonymous Monk
in thread Mojolicious - linking external css/js not working.
by desertcrocodile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |