From 30762988cfc7b6a5301dadf4e35f459824136f69 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Thu, 23 Aug 2018 15:50:55 +0200 Subject: [PATCH] fix --- info/Makefile | 2 +- info/controllers/IndexController.lua | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/info/Makefile b/info/Makefile index 023daa4..9d0fd55 100644 --- a/info/Makefile +++ b/info/Makefile @@ -4,7 +4,7 @@ copyfiles = index.ls style.css router.lua models views controllers logs main: - mkdir $(BUILDDIR) - cp -rf $(copyfiles) $(BUILDDIR) + - cp -rf $(copyfiles) $(BUILDDIR) - cd $(BUILDDIR) && ln -s ../grs ./rst clean: rm -rf $(BUILDDIR)/* \ No newline at end of file diff --git a/info/controllers/IndexController.lua b/info/controllers/IndexController.lua index af4cab6..4a86f1a 100644 --- a/info/controllers/IndexController.lua +++ b/info/controllers/IndexController.lua @@ -45,3 +45,6 @@ function IndexController:notoc(...) return self:index(table.unpack({...})) end +function IndexController:actionnotfound(...) + return self:notoc(table.unpack({...})) +end \ No newline at end of file