ckan locale updated depending user preferred language on ozwillo

This commit is contained in:
Serghei Mihai 2015-02-24 12:35:28 +01:00
parent b87c1c9373
commit b013655e7a
1 changed files with 2 additions and 1 deletions

View File

@ -138,8 +138,9 @@ class OpenidController(base.BaseController):
controller="organization",
action='read',
id=g.name,
locale=userinfo.get('locale'),
qualified=True)
toolkit.redirect_to(org_url)
toolkit.redirect_to(str(org_url))
def slo(self):
"""