aboutsummaryrefslogtreecommitdiff
path: root/views/error.templ
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-29 02:47:35 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-29 02:47:35 +0300
commit96e2ce2e9d363a6296f9411ecb00168520258874 (patch)
tree09aa7fffe10eab84ae0edd39e570355984ba0148 /views/error.templ
parent12ed72e4e1da181a6c87319a50d3b4142788b4c0 (diff)
Отказ от echo
Diffstat (limited to 'views/error.templ')
-rw-r--r--views/error.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/error.templ b/views/error.templ
index 3e857ef..27d0b55 100644
--- a/views/error.templ
+++ b/views/error.templ
@@ -1,7 +1,7 @@
package views
templ ErrorPage(err error) {
- @Layout(nil) {
+ @Layout() {
<h1>Ошибка</h1>
{ err.Error() }
}