Feature #831
Add a permalink_url method to most content types
| Status : | New | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | scott - | % Done : | 0% |
|
| Category : | frontend | |||
| Target version : | Maybe Someday | |||
| Resolution : |
Description
Once we have a blog_id-based URL generator, we should add a
permalink_urlmethod to the content class, so we can do this:
a = Article.find(42) a.permalink_url => 'http://blog.example.com/articles/2006/08/11/didnt-do-anything-today'
We can then replace a ton of helpers and clean up a lot of code.
