summaryrefslogtreecommitdiff
path: root/src/Middleware/LegacyMiddleware.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-26 02:54:52 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-29 23:46:11 +0200
commitbb3d16d273bb3e4552e4869dd22cb2c2d81f5387 (patch)
tree7de41548a5bd3a56aead1d9d528aa93e058e973a /src/Middleware/LegacyMiddleware.php
parenta1bc763a16ee8be109de5c9053fbc5eded53824e (diff)
Added Twig template renderer, closes #338
Diffstat (limited to 'src/Middleware/LegacyMiddleware.php')
-rw-r--r--src/Middleware/LegacyMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index 276fb3ee..37ae9331 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -283,7 +283,7 @@ class LegacyMiddleware implements MiddlewareInterface
$content = info($content, true);
}
- return response(view(__DIR__ . '/../../templates/layout.html', [
+ return response(view('layouts/app', [
'theme' => isset($user) ? $user['color'] : config('theme'),
'title' => $title,
'atom_link' => ($page == 'news' || $page == 'user_meetings')