witten
/
luminotes
Archived
1
0
Fork 0

Redirecting to blog friendly id instead of standard id.

This commit is contained in:
Dan Helfman 2008-11-18 17:10:16 -08:00
parent c5a2765685
commit b1cdfad22b
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ class Notebooks( object ):
if forum_tags:
forum_name = forum_tags[ 0 ].value
if forum_name == "blog":
redirect = u"/blog/%s" % notebook_id
redirect = u"/blog/%s" % notebook.friendly_id
else:
redirect = u"/forums/%s/%s" % ( forum_name, notebook_id )
if note_id: