Actions
Patch #1103
closedAdd deleting of wiki page individual versions
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-04-25
Due date:
% Done:
0%
Estimated time:
Description
This is the beginning of a patch to add "Delete" to all but the most recent version of the wiki history list, this cleans up the history - without the mess of "destroy" then adding back the page.
This isn't a complete patch; I'm just starting picking up ruby, and aren't sure of the next step; can someone help a bit?
I got as far as wiki_page.rb delete_version. This takes a version number and correctly does find_by_version, but how do I destroy the passed version?
Thanks for the help.
Files
Related issues
Actions