Removed redundant helper. request.base_url can be used instead.