Explorar o código

add share route to isCreatableName

itizawa %!s(int64=5) %!d(string=hai) anos
pai
achega
78afa12d31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/models/page.js

+ 1 - 1
src/server/models/page.js

@@ -533,7 +533,7 @@ module.exports = function(crowi) {
       /\s+\/\s+/, // avoid miss in renaming
       /.+\/edit$/,
       /.+\.md$/,
-      /^\/(installer|register|login|logout|admin|me|files|trash|paste|comments|tags)(\/.*|$)/,
+      /^\/(installer|register|login|logout|admin|me|files|trash|paste|comments|tags|share)(\/.*|$)/,
     ];
 
     let isCreatable = true;