From 526a97affb7e5ebcdd81f73eaaaf80daba8e1f42 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Thu, 23 Mar 2017 07:33:00 -0600 Subject: [PATCH] Show error message if route not understood Former-commit-id: a8f0c8962f4bfc694d883a6c6162dac512dce40d [formerly a1a3744bd736baaf6af702e1635089a29a87ac8a] [formerly bd72fb7c08e2efda8ab97fc7d8a57b0d50ef43d2 [formerly 4193da80fce859277253b35033bc1bbc1117e70f]] Former-commit-id: 8686c6cfb26ca2542efe1aeca186093320c12228 [formerly 6ffcbe6472aa192fd8f59faace2c87fd08225b3d] Former-commit-id: e726d4a1d3b075389f1a652198b45c2c7ce8ab5a --- templates/index.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/index.tmpl b/templates/index.tmpl index af40dca..3322606 100755 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -316,6 +316,7 @@
+ {{ if .DontKnowPage }}
{{ .Route }} not understood!
{{ end }} {{ if .ViewPage }} {{ .RenderedPage }} {{ end }} {{ if .EditPage }} {{ end }} {{ if .HistoryPage }}