Fix linking to comments.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 17 Jan 2013 22:50:51 +0000 (23:50 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 17 Jan 2013 22:57:40 +0000 (23:57 +0100)
commit7d16a01baea3251aaecf1aaba519b6549fcf0b5f
treebbbc631ba6ab52cd6e77c2e3c84ebc984788dc62
parent00cf28da215e73c494f553e7de3d21a9b63cf0cf
Fix linking to comments.

when linking to a comment in a MediaEntry, the page did not
contain a <a name="comment"> because, well:

We fetched a string comment-id from the routing. And the
pagination code tried to compare that to the int id on the
comment.

Fix is to let routing fetch an int from the url. Easy.

Relatedly remove duplicated comment_id fetching from the
URL in the view.
mediagoblin/user_pages/routing.py
mediagoblin/user_pages/views.py