Merge pull request #740 from getredash/feature/permissions

Fix #738: alert code was referencing non existing attribute
This commit is contained in:
Arik Fraimovich 2016-01-07 11:48:27 +02:00
commit ce9a5c05fb

View File

@ -306,8 +306,9 @@ def version_check():
def base_url(org):
if org.domain:
return 'https://{}'.format(org.domain)
if settings.MULTI_ORG:
return "https://{}/{}".format(settings.HOST, org.slug)
return settings.HOST