Permalink
Browse files

Fix URLs for forum actions.

  • Loading branch information...
chrisrossi committed Jun 8, 2012
1 parent 68b7551 commit 048bea6ce0b47be1ea043d4575d9088f6ad4f826
Showing with 2 additions and 1 deletion.
  1. +2 −1 karl/content/views/forum.py
@@ -99,7 +99,8 @@ def __call__(self):
actions = []
if has_permission('create', context, request):
- actions = self._admin_actions
+ actions = [(title, request.resource_url(context, view))
+ for title, view in self._admin_actions]
forums = list(context.values())
forums.sort(titlesort)

0 comments on commit 048bea6

Please sign in to comment.