avoinministerio/avoinministerio — pull request #100 by arttu (2012-03-16 01:57:06+00:00)
Title: Use id and slug in urls for ideas and articles.

The old urls having only a slug will work as long as the current title isn't changed.
The urls for resources created after this patch will work infinitely, as the id in the beginning of the url is used to find the according resource.

Ps. ignore article comments thing, I noticed too late that we don't have that feature yet. As they are going to be reality at some point, I kept the code in place for reference.