Default url reference


Is there a way of referencing the current app base url when building links in emails (or elsewhere) that will be contextually correct regardless of whether the app is in a development environment or live?

The way I’m doing it at the moment means I’ll need to constantly correct url’s after I promote code to live.

Eg. a snippet from an email body I am constructing:

[url='s%20unique%20id]Click this link to review proposal Current Page Proposal's Name.[/url]

I’m probably missing something in the doco but I’m not sure…

LIterally found it on my next search: