Procházet zdrojové kódy

Fix titles for error routes.

master
Ben Kurtovic před 7 roky
rodič
revize
9a4c10ff74
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      templates/_base.mako

+ 1
- 1
templates/_base.mako Zobrazit soubor

@@ -5,7 +5,7 @@
<title>
<%def name="maketitle(*parts)">
<%
if request.url_rule.endpoint == "index":
if request.url_rule and request.url_rule.endpoint == "index":
parts = ()
%>
${" | ".join(parts + (g.config.get("corp.name"),)) | h}


Načítá se…
Zrušit
Uložit