Skip to content

Commit

Permalink
[xs][bugfix] no need to decode CKAN_CURRENT_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 5, 2012
1 parent bc31e27 commit 5723d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/layout_base.html
Expand Up @@ -184,7 +184,7 @@ <h3 class="widget-title">Languages</h3>
<div class="textwidget">
<ul>
<?python
current_url = request.environ['CKAN_CURRENT_URL'].encode('utf-8')
current_url = request.environ['CKAN_CURRENT_URL']
?>
<li py:for="locale in h.get_available_locales()">
<a href="${h.url(current_url, locale=str(locale))}">
Expand Down

0 comments on commit 5723d49

Please sign in to comment.