Commits

Ben Bangert committed a12803f

Use title for slug

  • Participants
  • Parent commits 4de4d24

Comments (0)

Files changed (1)

kai/controllers/articles.py

                           human_id=c.user.id, author=c.user.displayname)
         
         ## generate the slug
-        slug = result['slug'].replace(" ", "_")
+        slug = result['title'].replace(" ", "_")
         slug = slug.lower()
         slug = re.sub('[^A-Za-z0-9_]+', '', slug)
         article.slug = slug