Add: way to specify in the controller if we want to generate absolute or relative urls