New wiki page creation works.

This commit is contained in:
takezoe
2013-05-02 09:03:08 +09:00
parent 1909fc605a
commit ac1b42eb5d
4 changed files with 35 additions and 28 deletions

View File

@@ -98,7 +98,7 @@ object WikiUtil {
cloned.add.addFilepattern(file.getName).call
// delete file
if(currentPageName != newPageName){
if(currentPageName != "" && currentPageName != newPageName){
cloned.rm.addFilepattern(currentPageName + ".md")
}