Ticket #426 (accepted enhancement)
New task : Rebuild slugs
| Reported by: | jehanbruggeman | Owned by: | tboutell |
|---|---|---|---|
| Priority: | major | Milestone: | 1.5.2 |
| Component: | apostrophePlugin | Version: | |
| Keywords: | Cc: | ||
| Symfony version: | 1.4 |
Description
I wrote a new task to address a specific use case : having massively re-organized the website structure prior to public release, I wanted the slugs to reflect that new structure (since no URIs had been made public, there were none to break), so I created a task very similar to the apostrophe:repair-tree task, called apostrophe:rebuild-slugs, which browses the tree and rebuilds the slug paths as it goes.
The code is provided as a patch (see attachment). The paths are relative to the svn.apostrophe.org root. I hope it is adequate, being the first patch I ever made.


