Hi people,
Why should I use tg.url(....) instead of a simply relative-URL?
Lately, i'm not using it because to me it looks cleaner this:
$.ajax({
url: "/foo/bar/",
...
});
than this
$.ajax({
url: "{{tg.url('/foo/bar/')}}",
...
});
and the result is the same...
Thanks
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.