summaryrefslogtreecommitdiff
path: root/chimere/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/actions.py')
-rw-r--r--chimere/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/actions.py b/chimere/actions.py
index a434279..8ef5338 100644
--- a/chimere/actions.py
+++ b/chimere/actions.py
@@ -34,7 +34,7 @@ class Action:
def update_url(self, area_name):
self.url = reverse(self.path,
- args=[area_name+'/'] + self.extra_url_args)
+ args=[area_name + '/' if area_name else ''] + self.extra_url_args)
default_actions = [(Action('view', 'chimere:index', _('View')), []),
(Action('contribute', 'chimere:edit', _('Contribute')),