瀏覽代碼

fix broken robots.txt

George Baugh 1 年之前
父節點
當前提交
66b0023b0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/TCMS.pm

+ 1 - 1
lib/TCMS.pm

@@ -345,7 +345,7 @@ sub _app {
 }
 
 #XXX Return a clone of the routing table ref, because code modifies it later
-sub _routes ($data) {
+sub _routes ($data={}) {
     state %routes;
     return clone(\%routes) if %routes;