added 'external' parameter to balde_url_for