Removed some reliance on the logged-in user.
[zzz-floof.git] / floof / controllers / tag.py
index 5d13789..1ceaf7c 100644 (file)
@@ -27,7 +27,12 @@ class TagController(BaseController):
         c.art = h.get_object_or_404(Art, id=art_id)
 
         tag_string = request.params.get('tags', '')
-        add_tags(c.art, tag_string, c.user)
+        add_tags(
+            art=c.art,
+            tag_string=tag_string,
+            adding_user=c.user,
+            me=c.user,
+        )
 
         # Add or remove tags
         redirect(url('show_art', id=c.art.id))