diff options
Diffstat (limited to 'controllers')
-rw-r--r-- | controllers/editor.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controllers/editor.php b/controllers/editor.php index c880a00..3818328 100644 --- a/controllers/editor.php +++ b/controllers/editor.php @@ -2,7 +2,9 @@ $app->get('/editor', function() use($app) { if($user=require_login($app)) { - $html = $app->render('editor.php'); + $html = $app->render('editor.php', [ + 'user' => $user + ]); $app->response()->body($html); } }); |